已经改变使用反应,终极版,我得到了下面的错误添加到组件的DispatchProps
一个函数的实现:
yarn run v1.13.0
$ flow
Cannot call this.props.<prop> because:
• Either property <prop> is missing in ExternalProps [1].
• Or property <prop> is missing in ConnectProps [2].
然而,道具是DispatchProps
的一部分;该交错于提到的道具:type Props = ExternalProps & ConnectProps & DispatchProps
。
这个问题显然是在功能的实现的一个类型错误。这似乎导致流动不加入的功能道具,然后抱怨这种方式 - 在重构一个更细致的级别使用类型的功能有流量正常报告的问题。