Files
react/fixtures/ssr
Brian Vaughn 171149a4b0 Fix failing Prettier command (#10268)
* Ran prettier over non-modified files to change them
* Fixed output of failing Prettier message to show invalid files
* Failing Prettier command now suggests 'yarn prettier-all'
2017-07-24 13:59:16 -07:00
..
2017-04-27 21:03:32 -07:00
2017-04-27 21:03:32 -07:00
2017-04-27 21:03:32 -07:00
2017-04-27 21:03:32 -07:00

SSR Fixtures

A set of test cases for quickly identifying issues with server-side rendering.

Setup

To reference a local build of React, first run npm run build at the root of the React project. Then:

cd fixtures/ssr
npm install
npm start

The start command runs a webpack dev server and a server-side rendering server in development mode with hot reloading.

If you want to try the production mode instead run:

npm run start:prod

This will pre-build all static resources and then start a server-side rendering HTTP server that hosts the React app and service the static resources (without hot reloading).