Example of the official React.js Tutorial using Spring Boot on the server-side.
The CommentBox
main view is isomorphic: HTML is initially rendered on the server with Nashorn by utilizing React.renderToString
. All interactive DOM manipulations are handled by React directly in the browser.
For further explanation read this blog post and follow me on Twitter.
See also winterbe/react-samples for a bunch of client-side React.js examples.
★★★ Like this project? Leave a star, follow on Twitter or donate to support my work! Thanks. ★★★