dillon1000/react

Commit

fix(react-dom): Fix crash during server render (#14103)

Check for existence of `setTimeout` and `clearTimeout` in the runtime
before using them, to ensure runtimes without them (like .NET ClearScript)
do not crash just by importing `react-dom`.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-dom/src/client/ReactDOMHostConfig.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…