Skip to content

dxx/react-ssr

Repository files navigation

React SSR

This is a react ssr demo written with typescript. It base on react16.x and webpack4.x

Fetures:

  1. Support HMR in development mode.
  2. Code Splitting base on route.
  3. Head management for SEO.
  4. Fetch Data ahead of time.

Available Scripts

npm install

First, run the npm install to install dependence.

npm run dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

npm run build

Builds the app for production.

npm run start

Starts the server for production.

About

📒 A react ssr demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published