You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you know guys if this library still needed in react 18? We are during migration process to R18 and we wonder if we should replace this library with react 18 native lazy loading support, what we allready attempt, but with no success :)
The text was updated successfully, but these errors were encountered:
React 18 can "hold" information inside Suspense boundaries while code is loading, but any update will invalidate it. It is very low-level behavior and I would not rely much on in - facebook/react#22692
However if you don't use SSR - then it's totally not a problem, and if you don't use useImported - moving to Lazy would basically change nothing, just one library less to load.
Hey, there is no such thing as "native lazy loading" - it's only about Suspense and everything else does not matter that much.
@theKashey I needed nearly a year to understand that R18 does not provide all utilities to have lazy imports working properly between server and client thanks!
Hi,
Do you know guys if this library still needed in react 18? We are during migration process to R18 and we wonder if we should replace this library with react 18 native lazy loading support, what we allready attempt, but with no success :)
The text was updated successfully, but these errors were encountered: