sandiiarov/use-events

Make useWindowResize safe for server-side render

jemeric opened this issue · 0 comments

The problem is that this hook as it is cannot be safely used in server-side rendering and thus will break isomorphic applications.

I've opened a PR to demonstrate a possible solution for this: #167