react/packages/react-debug-tools
Andrew Clark 702fc984e6
Codemod act -> await act (4/?) (#26338)
Similar to the rationale for `waitFor` (see #26285), we should always
await the result of an `act` call so that microtasks have a chance to
fire.

This only affects the internal `act` that we use in our repo, for now.
In the public `act` API, we don't yet require this; however, we
effectively will for any update that triggers suspense once `use` lands.
So we likely will start warning in an upcoming minor.
2023-03-08 11:36:05 -05:00
..
npm Add Debug Tools Package for Introspection of Hooks (#14085) 2018-11-05 10:02:59 -08:00
src Codemod act -> await act (4/?) (#26338) 2023-03-08 11:36:05 -05:00
README.md Add Debug Tools Package for Introspection of Hooks (#14085) 2018-11-05 10:02:59 -08:00
index.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
package.json Remove object-assign polyfill (#23351) 2022-02-23 19:34:24 -05: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.