Closed simlrh closed 3 years ago
Unfortunately there was a breaking change in redux-saga@1.0.0
where they moved Task.done
to Task.toPromise()
. I've added the last commit to handle this but it's a bit hacky.
@simlrh Just sign the CLA and I will merge!
Done
Any progress?
Hey. Look at my example. It may be useful to you. And you can learn some new ideas on how to improve your library. https://github.com/fostyfost/next-with-redux-dynamic-modules
Hey, any news ?
For SSR it can be useful to run some sagas and await their completion before rendering the page. Eg:
This PR adds a function to the
redux-dynamic-modules-saga
IExtension
to get a promise for the completion of all currently running sagas, allowing the above pattern when usingredux-dynamic-modules
. Eg: