6.0.0 (2021-02-19)
feature
- useNetinfo: return null for initial unknown connection state (#444 by @lisabaut) (4d84f14), closes #295
BREAKING CHANGES
- useNetinfo: When the connection state is unknown, the
isConnected
andisInternetReachable
properties are now set tonull
rather thanfalse
. This allow you to easily detect the initial "unknown" state before the state is detected and set to aboolean
.