useDimensions icon indicating copy to clipboard operation
useDimensions copied to clipboard

This PR enables SSR support

Open nishanBende opened this issue 5 years ago • 2 comments

Allow passing a flag named enableSSR and use useEffect instead of useLayoutEffect when enableSSR is true. Referred gist - https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85

Related issue: https://github.com/Swizec/useDimensions/issues/27#issue-553466318

nishanBende avatar Jan 22 '20 12:01 nishanBende

@Swizec - Can we please get this merge in?

kevinkashou avatar May 05 '20 02:05 kevinkashou

Any news on this getting merged?

magicspon avatar Nov 17 '20 13:11 magicspon