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
Instead of relying on the implicit dispatch prop being passed from a container to a component, utilize mapDispatchToProps to automatically bind actions to dispatch. For example, in PlayerContainer:
With redux-sound being my goto repo for inspiration when starting new react-redux projects, and very much being started as a learning project, I think it would be beneficial for there to be some examples like this within the code.
The text was updated successfully, but these errors were encountered:
Instead of relying on the implicit dispatch prop being passed from a container to a component, utilize mapDispatchToProps to automatically bind actions to dispatch. For example, in PlayerContainer:
becomes
And then inside Player:
becomes
With redux-sound being my goto repo for inspiration when starting new react-redux projects, and very much being started as a learning project, I think it would be beneficial for there to be some examples like this within the code.
The text was updated successfully, but these errors were encountered: