Awesome Open Source
Awesome Open Source

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:9000
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

#mock api
npm run mock

Ant Design React官方已经提供脚手架,同时也推荐了社区提供的脚手架和范例:
react-redux-antd-starter
reactSPA
react-redux-antd by Justin-lu
react-antd-admin
react-redux-antd by okoala
react-antd-redux-router-starter
antd-admin
更多
为什么要重复造轮?

不想用roadhog, dva
roadhog是对webpack,express...的一个封装
dva是对saga,react-router,redux...的封装
我不提倡不封装,但也不提倡过度封装。

截图

image image

参考资料

antd-admin 优秀的社区antd实践

React+Redux系列教程

React与Redux教程(一)connect、applyMiddleware、thunk、webpackHotMiddleware

React与Redux教程(二)Redux的单一状态树完全替代了React的状态机?

React与Redux教程(三)reduce()、filter()、map()、some()、every()、...展开属性

React与Redux教程(四)undo、devtools、router

React与Redux教程(五)异步、单一state树结构、componentWillReceiveProps

React与Redux教程(六)redux服务端渲染流程

React与Redux教程(七)自定义Redux中间件

React与Redux教程(八)连接数据库的Redux程序

React+Redux系列教程(续)

用更少的代码发起异步action(博主推荐)

RxJS + Redux + React = Amazing!(译一)

RxJS + Redux + React = Amazing!(译二)


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (68,071
react (5,167
react-router (202
antd (130
react-redux (114
redux-thunk (50
redux-observable (17

Find Open Source By Browsing 7,000 Topics Across 59 Categories