dillon1000/react
Commit
Browse files [Fresh] Track mounted roots via DevTools Hook (#15928)
* Track mounted roots via DevTools Hook * Add helper utilities to the runtime These utilities will likely be needed by all module systems, so let's just put them here. * Wrap more things in __DEV__ * Fix tests to also be DEV-only
Changed paths5 files
First-parent comparisonpackages/react-reconciler/src/ReactFiberHotReloading.js ModifiedM packages/react-reconciler/src/ReactFiberReconciler.js ModifiedM packages/react-refresh/src/ReactFreshRuntime.js ModifiedM packages/react-refresh/src/__tests__/ReactFresh-test.js ModifiedM packages/react-refresh/src/__tests__/ReactFreshIntegration-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…