Code-splitting in JSS React sample apps
Version: 22.x
JSS does not ship with code-splitting support out-of-the-box for simplicity, but it is possible to implement using standard React component-based code-splitting techniques, such as react-loadable
or loadable-components
(recommended by React).
The JSS team has blogged about one possible way to support code-splitting using JSS and React.