阅读背景:

iOS应用程序 - 人们如何处理Internet连接停机以提供最佳用户体验?

来源:互联网 

I'm about to begin building my 2nd React Native app and I'd like a friendlier way to handle any Internet connection downtime should it suddenly drop out. Currently I check for a connection when executing any Fetch call and then use try/catch to display a retry component if it failed. This renders a button which re-calls the function on-press. I'm Just curious to see how other people handle this and whether I can improve my users experience! I'm about to begin building my 2nd React Native




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: