Extra Credit

@react-hook/passive-layout-effect

A React hook that uses useEffect() on the server and useLayoutEffect() in the browser

$npm install @react-hook/passive-layout-effect

Official docs outline

Extra Credit builds an outline of @react-hook/passive-layout-effect's docs the first time your work uses it. Until then, start at the official documentation.

All 9,484