1. # SSR Fixtures
    
  2. 
    
  3. A set of test cases for quickly identifying issues with server-side rendering.
    
  4. 
    
  5. ## Setup
    
  6. 
    
  7. To reference a local build of React, first run `npm run build` at the root
    
  8. of the React project. Then:
    
  9. 
    
  10. ```
    
  11. cd fixtures/ssr2
    
  12. yarn
    
  13. yarn start
    
  14. ```
    
  15. 
    
  16. The `start` command runs a webpack dev server and a server-side rendering server in development mode with hot reloading.
    
  17. 
    
  18. **Note: whenever you make changes to React and rebuild it, you need to re-run `yarn` in this folder:**
    
  19. 
    
  20. ```
    
  21. yarn
    
  22. ```
    
  23. 
    
  24. If you want to try the production mode instead run:
    
  25. 
    
  26. ```
    
  27. yarn start:prod
    
  28. ```
    
  29. 
    
  30. 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).