This is what happens when I make a failed api request. Are failed api requests supposed to break the app like this? Is there a good way to have a fallback?
开发状态下,如果网络不通,或者 api 无效,都会给出一个大红屏幕,写着Network request failed这个是开发状态的,实际release的产品不会,但还是要处理掉这些异常,红色屏幕对开发也是不友好的对于ES6不熟,只好查资料,https://github.com/facebook/react-native/issues/973jbhatab
This is what happens when I make a failed api request. Are failed api requests supposed to break the app like this? Is there a good way to have a fallback?