Patch Changes
-
Shake
useImperativeHandle
on the main-thread by default. (#153)import { forwardRef, useImperativeHandle } from '@lynx-js/react'; export default forwardRef(function App(_, ref) { useImperativeHandle(ref, () => { // This should be considered as background only return { name() { // This should be considered as background only console.info('This should not exist in main-thread'); }, }; }); });
-
Avoid wrapping standalone lazy bundles with
var globDynamicComponentEntry
. (#177)