Skip to content

Commit 58c2ac6

Browse files
committed
Default async rendering to True
1 parent 71f6c4e commit 58c2ac6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/source/about/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Unreleased
5959
- :pull:`1281` - ``reactpy.core.vdom._EllipsisRepr`` has been moved to ``reactpy.types.EllipsisRepr``.
6060
- :pull:`1281` - ``reactpy.types.VdomDictConstructor`` has been renamed to ``reactpy.types.VdomConstructor``.
6161
- :pull:`1312` - ``REACTPY_ASYNC_RENDERING`` can now de-duplicate and cascade renders where necessary.
62+
- :pull:`1312` - ``REACTPY_ASYNC_RENDERING`` is now defaulted to ``True`` for up to 40x performance improvements.
6263

6364
**Deprecated**
6465

src/reactpy/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def boolean(value: str | bool | int) -> bool:
8585

8686
REACTPY_ASYNC_RENDERING = Option(
8787
"REACTPY_ASYNC_RENDERING",
88-
default=False,
88+
default=True,
8989
mutable=True,
9090
validator=boolean,
9191
)

0 commit comments

Comments
 (0)