dillon1000/react
Commit
Browse files Fast Refresh: Don't block DevTools commit hook (#20129)
In some scenarios (either timing dependent, or pre-FR compatible React versions) FR blocked calling the React DevTools commit hook. This PR adds a test and a fix for that.
Changed paths4 files
First-parent comparisonpackages/react-refresh/package.json ModifiedM packages/react-refresh/src/ReactFreshRuntime.js ModifiedM packages/react-refresh/src/__tests__/ReactFresh-test.js ModifiedM yarn.lock ModifiedPatch
Files changed
Rendering syntax-highlighted changes…