1 min read
Check whether the user is Online or Offline using React hooks and providers.