Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Prevent undefined action crash #591

Closed
wants to merge 1 commit into from
Closed

Conversation

alvaropaco
Copy link

I've done a little modification to prevent a undefined Exception. When you dont have signed action var in the middleware, the app crashes.

@timdorr
Copy link
Member

timdorr commented Jul 19, 2017

The action always needs to exist. If you don't pass one into dispatch, that's not using Redux correctly. Thanks, but this is handled upstream.

@timdorr timdorr closed this Jul 19, 2017
@alvaropaco
Copy link
Author

May you considerate this. The crash occurs with redux-logger middleware.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants