Skip to content

possible addition: composeReducers(...reducers) #71

Open
@warren-bank

Description

Hi. Me again. I have another one for you :)

here is the repo.
here is the npm module.

In summary:

  • This simply chains multiple reducers together (by functional composition) so the output of one is fed into the next.
  • The resulting reducer function can (of course) be composed itself along with other reducers, if need be.

It's nothing too major, and finding a reason to use it would probably be uncommon..
I wrote it as a learning exercise, while re-reading a book on redux that I'm trying to fully grok.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions