An example of how to do React server-side rendering with frontend library dependencies.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
vendor
.gitignore
README.md
browser_dependencies.js
client.js
form_component.js
index.jade
package.json
server.js

README.md

react-server-rendering-example


An example of how to do React server-side rendering with frontend library dependencies. The app renders a simple React component containing a Bootstrap form that uses ValidateJS for form validation and Jquery for form submission. Frontend libraries are managed through a separate browser_dependencies module. See this blog post for the detailed explanation.

How to run

npm install
node server.js

Navigate to http://localhost:8080.