Skip to content

Commit 78b5651

Browse files
committed
add changelog
1 parent 161e788 commit 78b5651

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: docs/source/about/changelog.rst

+12
Original file line numberDiff line numberDiff 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+
3850
v1.0.2
3951
------
4052

0 commit comments

Comments
 (0)