dillon1000/react

Commit

Remove excess validation (#27223)

stacked on #27222 

When I initially developed Float I was trying to be extremely clever in
how to explain when there are mismatching Resource instances. I still
think that we should do some kind of validation here but I want to
implement something much simpler. In practice there are not many cases
where you would accidentally create the same resource twice but with
differing props. Since I am going to land `preloadModule` and
`preinitModule` soon and I want to avoid adding to the overly complex
dev validation there I am going to remove it now and add something later
that is simplified.
Browse files
Changed paths3 files
First-parent comparison
M packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js ModifiedM packages/react-dom-bindings/src/shared/ReactDOMResourceValidation.js ModifiedM packages/react-dom/src/__tests__/ReactDOMFloat-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…