You are here

使用React-Redux开发手机站点 - 1

Submitted by Peniel on Fri, 01/20/2017 - 11:16
Undefined

准备工作:从github拉去最新的redux,使用example里面的real word作为基础开发环境。https://github.com/reactjs/redux/tree/master/examples/real-world。该环境配置好了一下工具:

  1. react-scripts: 使用create-react-app脚本(https://github.com/facebookincubator/create-react-app),包含了webpack, babel, ESLint等常用开发react配置开发工具
  2. redux-devtools
  3. redux-logger
  4. react-router
  5. react-redux-router
  6. redux-thunk: 用户加载插件,比如http异步请求

 

 

Category: