Skip to content

universal-react/universal-react-demo

Repository files navigation

Universal React Framework

Scaffold for building an universal react applicatioin.

Used:

  • webpack@3
  • react@16 react-router@4 redux
  • universal-component
  • express
  • typescript, babel
  • require.extensions technology

Feature

  • hot-reload anything in dev-mode
  • easy to debug
  • manage static file
  • just a simple react universal framework implement. Easy to expand.

How to run

$ yarn global add typescript
$ yarn

run in debug mode

yarn run dev

build

yarn run build

run in production mode

yarn run bundle

Future

  • Include redux
  • Include css module
  • Visual Studio Code use nodemon
  • require.ensure
  • Code Splitting
  • Production useful
  • Optmize webpack config

About

An example for server-side-render react

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published