react-use
react-use copied to clipboard
useHash is not SSR compatible
What is the current behavior?
Error window is undefined is thrown`
Steps to reproduce it and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have extra dependencies other than react-use. Paste the link to your JSFiddle or CodeSandbox example below:
Just use useHash() on SSR project.
What is the expected behavior?
If there isn't window object use some default values.
Same issue, still not merged/fixed.
+1
Still an issue