Skip to content

Consider adding an option to remove immer #183

@mshindal

Description

@mshindal

I like this library, but I want to use it without immer.

  • It's confusing to newcomers when they read everywhere online that they shouldn't mutate state in Redux, only to see the state being mutated here

  • It's inconsistent with React, where you shouldn't mutate state directly

  • The pitfalls of immer means it actually adds more complexity. E.g. you have to remember to either mutate directly or return a new state but not both.

Please consider adding an option to remove it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions