Skip to content

replaceReducer() should throw if argument is not a function  #1318

@gaearon

Description

@gaearon

This is an easy one, please feel free to send a PR.
We want to add a typeof check in replaceReducer just like we have when the store is created.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions