dillon1000/react

Commit

Don't pass the Fiber around instead use the DOM node

To avoid exposing the implementation details of fibers we'll just pass the
DOM node around instead. We'll attach any additional wrapper state on it.
We don't have to do it that way. We can also just invert the relationship
and put the node in the wrapper state.

I'll probably just get rid of the wrapper object and just put them as
expandos on the DOM.
Browse files
Changed paths5 files
First-parent comparison
M src/renderers/dom/fiber/ReactDOMFiberComponent.js ModifiedM src/renderers/dom/fiber/wrappers/ReactDOMFiberInput.js ModifiedM src/renderers/dom/fiber/wrappers/ReactDOMFiberOption.js ModifiedM src/renderers/dom/fiber/wrappers/ReactDOMFiberSelect.js ModifiedM src/renderers/dom/fiber/wrappers/ReactDOMFiberTextarea.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…