You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,9 @@ Don't forget to remove deprecated code on each major release!
37
37
- Added `reactpy.reactjs.component_from_npm` to import ReactJS components from NPM.
38
38
- Added `reactpy.h` as a shorthand alias for `reactpy.html`.
39
39
- Added `reactpy.config.REACTPY_MAX_QUEUE_SIZE` to configure the maximum size of all ReactPy asyncio queues (e.g. receive buffer, send buffer, event buffer) before ReactPy begins waiting until a slot frees up. This can be used to constraint memory usage.
40
+
- Events now support `debounce` and `throttle`, configurable per event via `event.debounce = <milliseconds>` and `EventHandler(fn, throttle=<milliseconds>)` respectively.
41
+
-`debounce` waits until activity stops, then fires once. Default is 200 ms on `input`/`select`/`textarea`, 0 ms elsewhere.
42
+
-`throttle` caps the rate how often an event is allowed to execute. No default; opt in per event.
40
43
41
44
### Changed
42
45
@@ -60,9 +63,8 @@ Don't forget to remove deprecated code on each major release!
60
63
-`reactpy.core.vdom._CustomVdomDictConstructor` has been moved to `reactpy.types.CustomVdomConstructor`.
61
64
-`reactpy.core.vdom._EllipsisRepr` has been moved to `reactpy.types.EllipsisRepr`.
62
65
-`reactpy.types.VdomDictConstructor` has been renamed to `reactpy.types.VdomConstructor`.
63
-
-`REACTPY_ASYNC_RENDERING` can now de-duplicate and cascade renders where necessary.
66
+
-`REACTPY_ASYNC_RENDERING` can now de-duplicate renders where necessary.
64
67
-`REACTPY_ASYNC_RENDERING` is now defaulted to `True` for up to 40x performance improvements in environments with high concurrency.
65
-
- Events now support debounce, which can now be configured per event with `event.debounce = <milliseconds>`. Note that `input`, `select`, and `textarea` elements default to 200ms debounce.
0 commit comments