You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I experimented a bit with using conditional types to derive React component props types from mapStateToProps and mapDispatchToProps (I named them fromState and actions for brevity). The proof-of-concept with an example is available at https://github.com/tlaitinen/react-redux-typed-connect . Does something like this already exist?
The text was updated successfully, but these errors were encountered:
I experimented a bit with using conditional types to derive React component props types from
mapStateToProps
andmapDispatchToProps
(I named themfromState
andactions
for brevity). The proof-of-concept with an example is available at https://github.com/tlaitinen/react-redux-typed-connect . Does something like this already exist?The text was updated successfully, but these errors were encountered: