DEV Community

Discussion on: Different approach to loading screen in React

kuba_szw profile image
Kuba Author

I would catch this error and pass it to the state. Then handle it only in LoadingScreen component. Add some message on loadingScreen that something went wrong or redirect. What do you think? 😉

teja463 profile image
Brahma Teja Ponnuru

Yeah nice idea.