摘要: 容器组件使用 connect() 方法连接 Redux 我们用 react-redux 提供的 connect() 方法将“笨拙”的 Counter 转化成容器组件。connect() 允许你从 Redux store 中指定准确的 state 到你想要获取的组件中。这让你能获取到任何级别颗粒度的数 阅读全文
posted @ 2018-07-06 21:25 每天都要进步一点点 阅读(648) 评论(0) 推荐(0)