Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dxx/react-ssr

:ledger: A react ssr demo
https://github.com/dxx/react-ssr

Last synced: about 2 months ago
JSON representation

:ledger: A react ssr demo

Awesome Lists containing this project

README

        

## 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](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.