redux-flow-example
redux-flow-example copied to clipboard
A simple project that shows how Flow can be used to add type safety to Redux-powered app
Results
2
redux-flow-example issues
Sort by
recently updated
recently updated
newest added
Hello, thanks for your example, It would be great if you could highlight a way to properly annotate the mapDispatchToProps and mapStateToProps
E.g if we have: ***FirstComponent.js*** ``` type FirstComponentProps = { foo: number, bar: number, } function FirstComponent(props: FirstComponentProps): React.Element { return {props.foo + props.bar} } export default connect(({bar}) => ({bar}))(FirstComponent)...