-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Action never seen when dispatched on Store. #1736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Unrelated but
can break your app any day. We specifically say:
|
Thanks @gaearon - I intend to remove this, I added it because the actions I have created are never seen - What could I be doing wrong? |
Please use StackOverflow for questions. We try to use the issue tracker for bug and feature discussions, but not for support. As for the code, it violates the constraints of Redux by performing a side effect ( If you dispatch inside a reducer, your code should fail. If it doesn’t fail, maybe you have a Promise swallowing the error somewhere. It’s hard to say more from this snippet of code. |
I have a non React project with the following code
.
index.js
reducers/page.js
The problem I have is that
actions/page.js
never sees theCREATE_PAGE
action. Any thoughs?The text was updated successfully, but these errors were encountered: