Deliver empathetic experiences to your users by adapting to their capabilities
☠ Breaking Changes:
useBattery
to useBatteryStatus
to be better aligned with other function names.This release is breaking as it renames every isUnsupported
ref to isSupported
, this is because isSupported
is much easier to read.
Ensure Boolean refs consistency by adding is
prefix to all boolean refs, affects all APIs. #2
List of Properties changed:
useMemoryStatus
unsupported
is now isUnsupported
useBatteryStatus
unsupported
is now isUnsupported
charging
is now isCharging
.useHardwareConcurrency
unsupported
is now isUnsupported
useNetworkStatus
unsupported
is now isUnsupported