使用 redux-form 和 connect 时子组件未检测到父组件状态更改

Parent component state change is not detected by child component when using redux-form and connect

当使用 redux-form 和 connect 时,子组件未检测到父组件状态更改,但当您编辑其他字段时,它会填充。

这是重现此问题的沙盒代码:

https://codesandbox.io/s/xljrpxk0yo

我在不知不觉中改变了数据。

参考解决方案: https://twitter.com/kailashvele/status/958336847423270914