-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Waiting for an action with takeMaybe / take after END is dispatched for SSR #2371
Comments
faicing similar issue |
facing similar issue |
@klis87 , can you help on this? as facing the same issue |
Greetings! Could you please provide a repo with everything setup so we can better investigate the issue? |
Hi @neurosnap But here are my findings
The middleware provides a special action as per my observation, here we can't use take then we are using takeMaybe (https://redux-saga.js.org/docs/api/#takemaybepattern) const wantsToUseActionPayload = yield takeMaybe('STATE_UPDATE'); Requirement: We need to consume the response in xyz*, which comes from the api in abc* |
Hi @neurosnap, @Andarist Could anyone please let us know the ways to handle multiple inter dependent saga on SSR? |
My understanding is: (please correct me if misunderstading) |
Waiting for an action with takeMaybe / take after END is dispatched for SSR
Using Next Js and next redux wrapper
in Get server side props,
The text was updated successfully, but these errors were encountered: