摘要: instead of using the Provider component, you can use the withRedux higher order component to inject the store initialization functionality. Basically, 阅读全文
posted @ 2018-07-27 16:41 Nyan 阅读(248) 评论(0) 推荐(0) 编辑
摘要: import {composeWithDeTools} from 'redux-devtools-extension'; const bindMiddleware = middleware => { if(process.env.NODE_DEV !== 'production') { return 阅读全文
posted @ 2018-07-27 14:44 Nyan 阅读(151) 评论(0) 推荐(0) 编辑