
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
284 Listeners
621 Listeners
269 Listeners
111,785 Listeners
987 Listeners
57 Listeners
26 Listeners
16 Listeners