PDA

View Full Version : What is the purpose of using bindActionsCreators?



adulistravel
04-30-2020, 11:23 PM
What is the purpose of using bindActionsCreators?

Akshay_M
01-04-2023, 07:45 AM
bindActionCreators(actionCreators, dispatch) Turns an object whose values are action creators, into an object with the same keys, but with every action creator wrapped into a dispatch call so they may be invoked directly. Normally you should just call dispatch directly on your Store instance.