Closed monospaced closed 5 years ago
Currently nesting markup containers like this could lead to buggy behaviour:
<div data-react-from-markup-container> <div data-rehydratable="HatComponent">…</div> <div data-react-from-markup-container> <div data-rehydratable="ShoesComponent">…</div> </div> </div>
Add a check to skip markup containers if they are inside a parent container, potentially something like:
roots.some(r => r.contains(root)
I'm taking at a look at this now, PR to follow
Currently nesting markup containers like this could lead to buggy behaviour:
Add a check to skip markup containers if they are inside a parent container, potentially something like: