React to changes in internet connectivity
const myCallback = useCallback((online) => console.log(online), []) useInternetListener(myCallback)