我在redux项目上遇到了一个令人困惑的行为,它使用流类型的repo中的react-redux类型来测试flowtype(0.43.0)。// @flowimport {connect} from 'react-redux'
class ChildComponent extends React.Component,并报告父
我只想收集一些关于如何在react + redux项目中组织flowtype的意见。下面是一些项目结构示例: -> UserAction.js ---> has some flowtype definition related to this action-> PostAction.js ---> has some flowtype definition related to this actionreducers
-> UserReducer.jsflowty