Razzle React Loadable Example
How to use
Download the example or clone the whole project:
curl https://codeload.github.com/jaredpalmer/razzle/tar.gz/master | tar -xz --strip=2 razzle-master/examples/with-react-loadablecd with-react-loadable
Install it and run:
yarn installyarn start
Idea behind the example
This sample has the full SSR setup as described in the react-loadable docs. It demonstrates simple dynamic imports using react-loadable on top of SSR with razzle.