dillon1000/react

Commit

Get rid of server side support for <option />

We read the wrapper state during initial mount for server rendering support
but Fiber doesn't use it and we don't need it. We also can't because we
haven't yet completed the parent that has the selected.

I will need to remember to always insert children before setting the
selected value on the parent <select />. That way the DOM will deal with
the `selected` property of option properly.
Browse files
Changed paths2 files
First-parent comparison
M src/renderers/dom/fiber/wrappers/ReactDOMFiberOption.js ModifiedM src/renderers/dom/fiber/wrappers/ReactDOMFiberSelect.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…