AlanWei / react-boilerplate-ssr

Universal React v16.0 application boilerplate
46 stars 11 forks source link

React Boilerplate SSR

Universal React v16.0 boilerplate

Getting Started

Client Side Development

cd client
yarn install
yarn dev

Navigate to http://localhost:8080

Server Side Development

cd client
yarn install
yarn run dev:server

cd server
yarn install
yarn watch

Navigate to http://localhost:3000


CHANGLOG

2018.09.02

  1. Upgrade to Babel 7 & related packages.
  2. Jest is not compatible at the moment.
  3. Add class property demo in User page.
  4. Switch babel-watch to @babel/node on the server side.

    2018.07.13

  5. Replace react-router-redux with connected-react-router.

    2018.07.03

  6. Upgrade to ESLint 5.
  7. Required Node.js version is either 8.10.0 above or 9.10.0 above.

    2018.05.20

  8. Better client/src/app folder structure.

    2018.04.11

  9. Upgrade to Webpack 4.
  10. Temporarily remove react-loadable for easy SSR.

    2018.02.07

  11. Better webpack configuration.

    2018.02.05

  12. Update dependencies for both client & server side.
  13. Add server side eslint check.
  14. Add server side XSS protection.

    For pure client side version, please visit react-boilerplate