Minor Changes
-
Reverts #239: "batch multiple patches for main thread communication" (#649)
This reverts the change that batched updates sent to the main thread in a single render pass.
Patch Changes
-
Add support for batch rendering in
<list>
with async resolution of sub-tree properties and element trees. (#624)Use the
experimental-batch-render-strategy
attribute of<list>
:<list /** * Batch render strategy: * 0: (Default) Disabled - No batch rendering * 1: Basic - Only batch rendering enabled * 2: Property Resolution - Batch render with async property resolution for list item subtree * 3: Full Resolution - Batch render with async property and element tree resolution for list item subtree */ experimental-batch-render-strategy={3} > </list>;
-
rename @lynx-js/test-environment to @lynx-js/testing-environment (#704)
-
Auto import
@lynx-js/react/experimental/lazy/import
when usingimport(url)
(#667) -
Auto import
@lynx-js/react/experimental/lazy/import
when using<component is={url} />
(#666) -
Fixed a race condition when updating states and GlobalProps simultaneously. (#707)
This fix prevents the "Attempt to render more than one
<page />
" error from occurring during normal application usage. -
Fix error like
Unterminated string constant
when using multi-line JSX StringLiteral. (#654)