Minor Changes
-
fix: Delay execution of
runOnMainThread()
during initial render (#1667)When called during the initial render,
runOnMainThread()
would execute before themain-thread:ref
was hydrated, causing it to be incorrectly set to null.This change delays the function's execution to ensure the ref is available and correctly assigned.
Patch Changes
-
Fix "TypeError: cannot read property '0' of undefined" in deferred list-item scenarios. (#1692)
Deferred
componentAtIndex
causes nodes that quickly appear/disappear to be enqueued without__elements
. UpdatesignMap
before__FlushElementTree
to resolve the issue. -
Keep the same
<page/>
element when callingrerender
in testing library. (#1656) -
Bump
swc_core
to39.0.3
. (#1721)