use-isomorphic-layout-effect
Andarist
popular esm
A React helper hook for scheduling a layout effect with a fallback to a regular effect for environments where layout effects should not be used (such as server-side rendering).
Version 1.2.0 License MIT
INSTALL