dillon1000/react
Commit
Browse files 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.
Changed paths2 files
First-parent comparisonsrc/renderers/dom/fiber/wrappers/ReactDOMFiberOption.js ModifiedM src/renderers/dom/fiber/wrappers/ReactDOMFiberSelect.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…