DEV Community

Discussion on: How to retry when React lazy fails

Collapse
 
snesjhon profile image
Jhon Paredes

Hi Guilherme, I’m wondering how you ended up testing this implementation.

Did you slow down your network using dev tools or manually forced a network fail?

Collapse
 
goenning profile image
Guilherme Oenning

Yes, I forced it to be offline (using Chrome). Wait for like 2 seconds and put it back online 😀