Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do i handle promise rejections? #45

Open
arf1e opened this issue Apr 29, 2021 · 1 comment
Open

How do i handle promise rejections? #45

arf1e opened this issue Apr 29, 2021 · 1 comment

Comments

@arf1e
Copy link

arf1e commented Apr 29, 2021

Is there a way to handle network request errors?
The lib is good, but when testing worst-case scenario with no internet connection my RN Debugger goes yellow and I can`t find a way to handle it.
Would be great if the lib had some render prop for showing the error state.

@EQuimper
Copy link
Member

@arf1e this is a good idea. A really good one. I will try to add that this weekend. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants