Skip to content

componentDidMount + setState = Two valid but unequal nodes with the same data-reactid #1501

Closed
@syranide

Description

@syranide

Kind of related: #1400

Just had a long debugging session with m4tthumphrey on IRC which turned out to be this issue. Moving setState to componentWillMount solved it.

I'm assuming this is the boiled down version of #1147

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