dillon1000/react

Commit

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.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-dom/src/client/ReactDOMHostConfig.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…