How to handle network failure in React-Native, when network is off
<p>How to handle network failure in React-Native, when device not connected to network.</p>

<p>My scenario is am trying to connect some api, while fetching request if network is disconnected react-native throws <strong>network request failed</strong> error. how to handle this scenario to give the user best user experience.</p>

<p>How to handle Network request failed in a better way.</p>

<p><a href="https://i.stack.imgur.com/2iv3k.png" rel="noreferrer"><img src="https://i.stack.imgur.com/2iv3k.png" alt="enter image description here"></a></p>