An example WebApp that implements server-side rendering of React
Inpired by https://github.com/StephenGrider/ReactSSRCasts and https://github.com/barbar/vortigern
- Download repo
- Run "yarn dev" to build for dev
- Run "yarn release" to build for prod
- ???
- Profit
This library uses the following libraries and tools:
- TypeScript
- React & React DOM for views.
- React Router to handle in-app routing.
- Redux for managing application state.
- React-Redux to use React-Redux bindings.
- Redux Thunk for dispatching async actions.
- React Helmet
- Webpack for bundling.
- Awesome TypeScript Loader as ts loader.
- Isomorphic Style Loader for loading styles on server-side.
- Style Loader
- CSS Loader
- PostCSS Loader
- Sourcemap Loader
- Express for running server both on client and server side.
- Compression for gzip compression
- avoid double API call server + client
- performance webpack plugin
- Jest
- Apollo + GraphQL ?
- Storybook
- install babel-plugin-transform-react-constant-elements and babel-plugin-transform-react-inline-elements
- PM2
- strict Typescript
- a violent TSLint
- prefetch other bundles?
- a violent editorconfig