@react-native-community/netinfo
# With Yarn
yarn add @react-native-community/netinfo
# With NPM
npm i @react-native-community/netinfo
# Import
import {useNetInfo} from '@react-native-community/netinfo';
# Check Connectivity
const netInfo = useNetInfo();