dillon1000/react

Commit

Try harder to find container in ReactMount.findReactContainerForID.

When we render a new component into a container, we now record a reference to the rendered DOM node as `rootElementsByReactRootID[reactRootID]`, so that we can determine the actual container later on, in case `containersByReactRootID[reactRootID]` is no longer the true container.
Browse files
Changed paths1 file
First-parent comparison
M src/core/ReactMount.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…