Patch Changes
-
fix: remove
lynx.createSelectorQuerydeprecated warning in production (#2195) -
Add a DEV-only guard that detects MainThread flush loops caused by re-entrant MTS handlers. (#2159)
This typically happens when a MainThread handler (e.g. event callback or
MainThreadRef) performs UI mutations (likeElement.setStyleProperty,setStyleProperties,setAttribute, orinvoke) that synchronously trigger a flush which re-enters the handler again. -
Avoid DEV_ONLY_SetSnapshotEntryName on standalone lazy bundle. (#2184)
-
Add alog and trace for BTS event handlers. (#2102)
-
fix: Main thread functions cannot access properties on
thisbefore hydration completes. (#2194)This fixes the
cannot convert to objecterror. -
Remove element api calls alog by default, and only enable it when
__ALOG_ELEMENT_API__is defined totrueor environment variableREACT_ALOG_ELEMENT_APIis set totrue. (#2192) -
fix: captured variables in main thread functions within class components do not update correctly (#2197)