Skip to content

Error: Invariant Violation: ReactMount: Two valid but unequal nodes with the same data-reactid #1263

@dlindahl

Description

@dlindahl

TL;DR fix Load `polymer.js first


Probably related to #1107

When a select or input[type="checkbox"] is rendered inside an unwrapped Polymer element's child node, the following error is thrown:

Error: Invariant Violation: ReactMount: Two valid but unequal nodes with the same `data-reactid`

I would imagine that radio buttons, etc. would also throw.

I am not sure if this is an actual bug or a limitation of React and the ShadowDOM/Polymer. But the error message is... not exactly helpful in determining what to do.

I wrote a simple JSBin that demonstrates the problem: http://jsbin.com/pinijoho/2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions