react/packages/react-debug-tools
Brian Vaughn 5227a37868
Add "unstable_" prefix to experimental mutable source APIs (#19472)
* Add "unstbale_" prefix to mutable source APIs

* DebugHooks no longer calls useMutableSource() on init

This was causing an observable behavioral difference between experimental DEV and PROD builds.

We don't initialize stack position for other composite hooks (e.g. useDeferredValue, useTransition, useOpaqueIdentifier). If we did, it would cause the same obesrvable behavioral difference.
2020-07-28 12:38:13 -04:00
..
npm Add Debug Tools Package for Introspection of Hooks (#14085) 2018-11-05 10:02:59 -08:00
src Add "unstable_" prefix to experimental mutable source APIs (#19472) 2020-07-28 12:38:13 -04:00
index.js Move remaining things to named exports (#18165) 2020-02-27 17:18:55 -08:00
package.json Fix Suspense-wrapping heuristic (and bump version numbers) (#19373) 2020-07-15 12:25:27 -04:00
README.md Add Debug Tools Package for Introspection of Hooks (#14085) 2018-11-05 10:02:59 -08:00

react-debug-tools

This is an experimental package for debugging React renderers.

Its API is not as stable as that of React, React Native, or React DOM, and does not follow the common versioning scheme.

Use it at your own risk.