This is a sample Spring Boot application that demonstrates React’s server side rendering capabilities as well as how this works with React Router and Redux. For more details, please read my blog post.
This application uses Spring’s ScriptTemplateView
which is a JSR-223
implementation, and uses the Nashorn ScriptEngine
. If you are interested in an
alternate solution which uses J2V8, have a
look at the J2V8 branch.