43

ultimate-hot-reload react node boilerplate with Webpack4, Flow, Graphql, Prettie...

 5 years ago
source link: https://www.tuicool.com/articles/hit/bY7zuaq
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

ultimate-hot-boilerplate

ultimate-hot-boilerplate for a universal react/node app with server-side-render

This boilerplate come with common things you can found in create-react-app , while being more progressive in adopting some of the more edgy stacks, such as styled-components, redux-segment, graphql, flow, prettier, etc.

It can be used as the base of a monolithical app that packs UI and API all together for rapid iterations or products or being split up into micro-services as well.

Hot Reload Everything :fire:

  • Redux reducer hot reloading both client/server side
  • React component hot reloading both client/server side
  • Styled-components hot reloading both client/server side
  • Server-side express routes hot reloading
  • React-Router v5 hot reloading both client/server side

Boost Development Experience

..

Production Ready Quality :rocket:

  • linting and formatting with Eslint, Prettier, Stylelint
  • flexible type safety check with Flow
  • unit testing with Jest, Enzyme, Supertest, etc.
  • e2e test toolings
  • containerise with Docker
  • best practices React/Redux patterns with Immutable, Reselect
  • graphql api
  • tracking, analytics integration (logging, metrics can be added)

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK