dillon1000/react
Commit
Browse files Constrain the container type of createPortal (#24496)
We already constrained the type of createRoot (can't take document) and hydrateRoot (can't take fragments).
Changed paths1 file
First-parent comparisonpackages/react-dom/src/client/ReactDOM.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…