This is very handy for people! The concept of code splitting and lazy loaded components is πππ
However react supports lazy loading out of the box and doesnβt need a third party packages to do this, so my advice would be to stick to the official documented route if possible.
However Lazy covers only component level splitting.
"Other libraries" have already implemented library-level splitting in form of renderProps or resource level splitting in form of hooks, which let you reduce you bundle size even more.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This is very handy for people! The concept of code splitting and lazy loaded components is πππ
However react supports lazy loading out of the box and doesnβt need a third party packages to do this, so my advice would be to stick to the official documented route if possible.
reactjs.org/docs/code-splitting.html
However
Lazy
covers only component level splitting."Other libraries" have already implemented library-level splitting in form of
renderProps
or resource level splitting in form ofhooks
, which let you reduce you bundle size even more.