Using JSS with React
Sitecore JSS supports developing React applications with Sitecore.
The JSS CLI can be used to quickly create an
create-react-app-based JSS application:
jss create my-react-jss-app react cd my-react-jss-app jss start
We recommend reading the sample app walkthrough to understand the sample app, but it's also well commented if you'd rather read code.
The React Placeholder component is very powerful. Here are some advanced techniques that can be used with placeholders.
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
loadable-components (recommended by React).