DEV Community

Discussion on: Predictable React authentication with the Context API

Collapse
 
jfranciscosousa profile image
Francisco Sousa • Edited

On "real apps" I would handle the error and show a "No internet" error screen, if the error is a network error generated by the user itself.

If a generic error comes from the server instead, we could show a 500 error page for example.