microsoft / redux-dynamic-modules

Modularize Redux by dynamically loading reducers and middlewares.
https://redux-dynamic-modules.js.org
MIT License
1.07k stars 116 forks source link

PENDING action is gone from sagas #169

Closed per0w closed 3 years ago

per0w commented 3 years ago

Hello. Please help. I faced with problem when i move my project to module with redux-dynamic-modules and redux-dynamic-modules-saga. Actions from sagas starts to work differently. Now actions not including PENDING prefix. Maybe someone came across this?

redux-promise-middleware - stopped working yet I don't know why

image

fostyfost commented 3 years ago

Please provide a codesandbox demo

per0w commented 3 years ago

Please provide a codesandbox demo

https://github.com/microsoft/redux-dynamic-modules/pull/172

fostyfost commented 3 years ago

It's not a demo 🙃

per0w commented 3 years ago

It's not a demo 🙃

Fix problem it's the best demo. ;) In fact, it was just that external middleware such as redux-promise and etc. were not included in the extension for sagas.

fostyfost commented 3 years ago

You can pass middlewares for modules, isn't it enough?

per0w commented 3 years ago

You can pass middlewares for modules, isn't it enough?

nope, b/c inside to saga extension they are not passed