Patch Changes
-
Supports
recyclable
attribute in<list-item>
to control whether the list item is recyclable. Therecyclable
attribute depends on Lynx Engine 3.4 or later. (#1388)<list-item recyclable={false} />;
-
feat: Support using a host element as direct child of Suspense (#1455)
-
Add profile in production build: (#1336)
diff:__COMPONENT_NAME__
: how long ReactLynx diff took.render:__COMPONENT_NAME__
: how long your render function took.setState
: an instant trace event, indicate when your setState was called.
NOTE:
__COMPONENT_NAME__
may be unreadable when minified, settingdisplayName
may help. -
Add
onBackgroundSnapshotInstanceUpdateId
event on dev for Preact Devtools to keep the correct snapshotInstanceId info. (#1173) -
fix: Prevent error when spreading component props onto an element (#1459)
-
fix: Correctly check for the existence of background functions in MTS (#1416)
function handleTap() { 'main thread'; // The following check always returned false before this fix if (myHandleTap) { runOnBackground(myHandleTap)(); } }