You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the newly released 18.3.0 release, if you try to use the act function from react-dom/test-utils, you will get the following warning:
Import act from react instead of react-dom/test-utils
However, the 18.3.0 release only ships unstable_act, not act. The react 19 beta seems to have renamed to act.
I feel the warning should either tell you to import from unstable_act, or the act export should actually exist, even if aliased to unstable_act internally
React version: 18.3.0
Steps To Reproduce
On react + [email protected], import and use act from react-dom/test-utils.