Skip to content

Feniast/react-ssr-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React SSR Sample

A sample setup for React Server-Side Rendering.

Features

Common Setup:

  • Webpack 4
  • Babel 7
  • Eslint
  • Husky & lint-staged
  • Jest 23 & Enzyme
  • PostCSS
  • CSS Modules with sass(scss)
  • HMR

App Dependencies:

  • React 16
  • Express
  • Redux
  • Redux-thunk
  • Reselect
  • React Router 4
  • React Loadable
  • React Helmet

Initial setup

  • npm install or yarn

Development

Production

  • yarn build && yarn dist
    • Bundle the JS and fire up the Express server for production

About

a setup sample for react server-side rendering

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published