A React Hook that helps to check if browser supports a feature in both client and Server-side Rendering (SSR).
See API for more details.
Click links below to view source on GitHub.
A function
whose return value is converted to a Boolean
value to check whether the feature is supported.
React.DependencyList
, An array of dependencies to re-run the check when the value changes.
A boolean
value that indicates if the feature is supported.