dillon1000/react
Commit
Browse files 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`.
Changed paths1 file
First-parent comparisonpackages/react-dom/src/client/ReactDOMHostConfig.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…