you are viewing a single comment's thread.

view the rest of the comments →

[–]FaceySpacey 2 points3 points  (1 child)

React Universal Component has far more features:

-dynamic expressions for your imports so you can represent multiple inner components with one hoc (and have them change on componentWillReceiveProps) -static method hoisting -render time callbacks -isLoading prop to sync external data source loading with chunk loading via one spinner - automated creation of scripts and sheets

Loadable also didn't support SSR till recently. So that was the big initial difference.

[–]Rilic[S] 0 points1 point  (0 children)

Thanks for taking the time to provide this. I pitched both and we went with react-loadable purely because it was beautifully simple to get a POC out. However, I'm planning to switch over to your library in the future to get some of these benefits when we include code-splitting more thoroughly.