File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,18 @@ Unreleased
3535 the overall responsiveness of your app, particularly when handling larger renders
3636 that would otherwise block faster renders from being processed.
3737
38+ **Changed **
39+
40+ - :pull: `1171 ` - Previously ``None ``, when present in an HTML element, would render as
41+ the string ``"None" ``. Now ``None `` will not render at all. This is consistent with
42+ how ``None `` is handled when returned from components. It also makes it easier to
43+ conditionally render elements. For example, previously you would have needed to use a
44+ fragment to conditionally render an element (e.g.
45+ ``something if condition else html._() ``). Now you can write:
46+ ``something if condition else None ``. The latter now has the minor performance
47+ advantage of not needing to create and render a fragment.
48+
49+
3850v1.0.2
3951------
4052
You can’t perform that action at this time.
0 commit comments