My React-application has a component that fetches data to display from a remote server. In the pre-hooks era, componentDidMount() was the place to go. But now I
componentDidMount()
That issue is caused by many updates inside Component.
I got the same issue, this would solve the issue.
await act( async () => mount());