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
Issue: #
Unable to get ActionCreator from ActionCreatorsMapObject.
ActionCreatorsMapObject works perfectly for binding all ActionCreator(s) e.g., see homepage-container.ts
But if i want to bind single ActionCreator, I have to "export" all actionCreator(s) functions, and then import * as actionCreators to be able to bind single ActionCreator to dispatch. (see useredit-container.ts below).
potential solution
Wouldn't it be nice to use the map in both cases, and then call map.getActionCreator(string) in bindActionCreators
version info
"@types/redux": "^3.6.31"
Issue: #
Unable to get ActionCreator from ActionCreatorsMapObject.
ActionCreatorsMapObject works perfectly for binding all ActionCreator(s) e.g., see homepage-container.ts
But if i want to bind single ActionCreator, I have to "export" all actionCreator(s) functions, and then import * as actionCreators to be able to bind single ActionCreator to dispatch. (see useredit-container.ts below).
potential solution
Wouldn't it be nice to use the map in both cases, and then call map.getActionCreator(string) in bindActionCreators
users-actioncreators.ts
homepage-container.ts
useredit-container.ts
Thanks for your time.
Regards
The text was updated successfully, but these errors were encountered: