react-native-google-autocomplete icon indicating copy to clipboard operation
react-native-google-autocomplete copied to clipboard

How do i handle promise rejections?

Open arf1e opened this issue 4 years ago • 1 comments

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.

arf1e avatar Apr 29 '21 18:04 arf1e

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

EQuimper avatar Apr 30 '21 14:04 EQuimper