react/packages/react-debug-tools
Andrew Clark ddd1faa197
Remove config argument from useTransition (#19719)
And `useDeferredValue`.

The options were already disabled in previous commits, so this doesn't
change any behavior. I upated type signatures and cleaned up the hook
implementation a bit — no longer have to wrap the `start` method with
`useCallback`, because its only remaining dependency is a `setState`
method, which never changes. Instead, we can store the `start` method
on a ref.
2020-08-28 11:49:01 -07:00
..
npm Add Debug Tools Package for Introspection of Hooks (#14085) 2018-11-05 10:02:59 -08:00
src Remove config argument from useTransition (#19719) 2020-08-28 11:49:01 -07:00
README.md Add Debug Tools Package for Introspection of Hooks (#14085) 2018-11-05 10:02:59 -08: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

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.