DEV Community

loading...

Discussion on: How I used React-Loadable to more than halve my React app's load time

Collapse
rozenmd profile image
Max Rozen Author • Edited

Just looking to learn here: why is it a very bad decision?

(I wasn't aware of @loadable/component when I posted this, but I've since switched my project over and have found no measurable improvement over react-loadable)

Collapse
thekashey profile image
Anton Korzunov

Very bad - because it is competely unmaintained. No real answer was given to any issue, no PR has been merged.

Bad - loadable provides only a simples splitting pattern, if you don’t need SSR it’s better just to use React.lazy, it would work just the same.

Other libraries provide a better SSR support, and, for example, able to split not only components.

Forem Open with the Forem app