Skip to content

It does not detect when I'm mutating the state directly. #133

Closed
@yaqubroli

Description

There's no error (or warning) for when I mutate the state instead of using setState.

so:
this.state.foo = "bar"
should yield an error, as opposed to
this.setState({foo: "bar"});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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