dillon1000/react
Commit
Browse files Fix global reference to Promise (#21926)
Referencing Promise without a type check will throw in environments where Promise is not defined. We will follow up with a lint rule that restricts access to all globals except in dedicated module indirections.
Changed paths1 file
First-parent comparisonpackages/react-dom/src/client/ReactDOMHostConfig.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…