microsoft / redux-dynamic-modules

Modularize Redux by dynamically loading reducers and middlewares.

Home Page:https://redux-dynamic-modules.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redux Observable module needs documentation warning

lagoasoft-lucasschmidt opened this issue · comments

Guys ... we need to let users know that it is used the toString method in the Epic function as key in order to determine if an epic will be added or not.

If you use an epic generator function, dynamic modules wont add all the epics, only a single one of them, since their toString methods return the same value.

I dont think any internal changes should be done, just a warning in the docs would be enough for most users.