-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
Description
Is there any way to enforce types for the action creators in mapDispatchToProps
, whether in react-redux core or a contrib? Would it be possible to annotate propTypes to enforce function signatures, or add an interface? I'm working on a large application that benefitted a lot from Flow annotations on action creators, and no longer can because of the dispatch/props disconnect.
irvinebroque, respectTheCode, pixelprizm, Ruudieboy, rgbkrk and 5 more