Skip to content
react server render , react@15/react-router@3
JavaScript CSS HTML
Branch: master
Clone or download
Latest commit 4227bc4 Jul 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app 修改配置 Jun 13, 2018
server '保存配置' Dec 11, 2017
.babelrc 修改配置 Jun 13, 2018
.gitignore
.project react项目 Apr 6, 2017
README.md Update README.md Nov 6, 2018
package.json 修改配置 Jun 13, 2018
server.js react项目 Apr 6, 2017
webpack.config.base.js 修改配置 Jun 13, 2018
webpack.config.dev.js 修改配置 Jun 13, 2018
webpack.config.local.js '保存配置' Dec 11, 2017
webpack.config.release.js '保存配置' Dec 11, 2017
yarn.lock react项目 Apr 6, 2017

README.md

webpack-react-node

Front end code is increasing, and page loading and rendering time is increasing. Node service segment rendering perfectly solves this problem. The page is rendered in service segment and user waiting time is shortened, which greatly improves user experience.

stack

react server render:

  • react@15.0
  • react-router@3.0
  • ejs template
  • fetch request
  • node middle

install

// 安装依赖
$ npm install 

// webpack打包
$ npm run dev 

// 开启本地node服务
$ npm run server 

after server start,open http://localhost:3505

You can’t perform that action at this time.