
Sign up to save your podcasts
Or
So I have a MainComponent, inside there are some “remote” components like OfficeSelect, that fetches data asynchronously on mount, using axios, everytime I test MainComponent I get the “act” warning on that OfficeSelect fetch, how do I deal with that?
Fix the “not wrapped in act(…)” warning
5
22 ratings
So I have a MainComponent, inside there are some “remote” components like OfficeSelect, that fetches data asynchronously on mount, using axios, everytime I test MainComponent I get the “act” warning on that OfficeSelect fetch, how do I deal with that?
Fix the “not wrapped in act(…)” warning
285 Listeners
631 Listeners
275 Listeners
111,169 Listeners
989 Listeners
58 Listeners
27 Listeners
15 Listeners