核心提示:Reflux.connect 做的事情1. 使用store 中的 getInitialState,设置默认值2. 在componentDidMount 中注入 linstento 及linstento...
Reflux.connect 做的事情
1. 使用store 中的 getInitialState,设置默认值
2. 在componentDidMount 中注入 linstento 及linstento 的回调函数,设置state
Reflux.connect 做的事情
1. 使用store 中的 getInitialState,设置默认值
2. 在componentDidMount 中注入 linstento 及linstento 的回调函数,设置state