react-device-detect
react-device-detect copied to clipboard
isBrowser not working on Chrome , always be mobile mode. Safari is ok
Having the same issue.
I had the same problem when rendering static pages. I fixed it by using the JSX syntax instead of checking the boolean value manually.
It looks like the value is only checked during site generation instead of dynamically in the browser.
Assuming they're rendering a static page, then this isn't a bug.