-
-
Notifications
You must be signed in to change notification settings - Fork 718
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
dispatch-sync errors, even when called from an effect handler #444
Comments
Is this a new error in that version of re-frame, or has it existed in the past? I'm still waking up from my coffee, but I'm not sure why that would be a valid pattern? An fx is always going to be run in the context of an event being handled, so |
I just ran into it and haven't tested it on older versions. I presume it has been an error case before.
Does that make sense? |
OK, i see. The issue is, that this would require ordering the FWIW, for my use case, |
Thanks, will probably close it for now, btw there is also |
This should be a valid pattern:
but with re-frame
0.10.3-rc2
, it gives meYou can't call dispatch-sync within an event handler.
ref #42
The text was updated successfully, but these errors were encountered: