This is a react ssr demo written with typescript. It base on react16.x and webpack4.x
Fetures:
- Support HMR in development mode.
- Code Splitting base on route.
- Head management for SEO.
- Fetch Data ahead of time.
First, run the npm install
to install dependence.
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Builds the app for production.
Starts the server for production.