File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,18 @@ Unreleased
35
35
the overall responsiveness of your app, particularly when handling larger renders
36
36
that would otherwise block faster renders from being processed.
37
37
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
+
38
50
v1.0.2
39
51
------
40
52
You can’t perform that action at this time.
0 commit comments