【发布时间】:2017-04-16 04:17:48
【问题描述】:
React 工具箱似乎要求我对其输入值 http://react-toolbox.com/#/components/input 使用状态。如何将我的 redux 道具映射到状态以与 react-toolbox 一起使用?
<Input type='text'
label='Name'
name='name'
value={this.state.name}
onChange={this.handleChange.bind(this, 'name')} />
我想如果我在redux状态改变时在构造函数中设置它,它不会更新我的状态?
【问题讨论】:
标签: reactjs redux react-toolbox