Skip to content

state not set before setState callback from componentWillMount #1413

@alltom

Description

@alltom

I think this was alluded to in @yungsters comment just before #93 was merged.

If I call setState in componentWillMount, the setState callback is called before the state has been set. I'm using React v0.10.0.

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