useGetBrowser
Returns the browser's user agent string or null if unavailable.
Usage
The useGetBrowser
hook retrieves the browser's user agent string. It can be useful for determining the browser type and version. If the navigator
object is unavailable, the hook returns null
.