I don't know how many times this specific blog post has saved my sanity. In my opinion the warning message from the testing library itself is not helpful. Often, the state update continues after render but before any user input, so its lecturing about not firing events outside of an act statement does not apply.
Thanks again! Much appreciated!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I don't know how many times this specific blog post has saved my sanity. In my opinion the warning message from the testing library itself is not helpful. Often, the state update continues after render but before any user input, so its lecturing about not firing events outside of an act statement does not apply.
Thanks again! Much appreciated!