Description:
Offline and Online components for React that track offline and online state. Render certain content only when online (or only when offline).
Installation:
# Yarn
$ yarn add react-detect-offline# NPM
$ npm install react-detect-offline
Offline and Online components for React that track offline and online state. Render certain content only when online (or only when offline).
# Yarn
$ yarn add react-detect-offline# NPM
$ npm install react-detect-offline