dillon1000/react
Commit
Browse files 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.
Changed paths5 files
First-parent comparisonsrc/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…