Isomorphic useLayoutEffect for Server-Side Rendering
useLayoutEffect
const myElement = useRef() useIsoLayoutEffect(() => console.log(myElement.current), [])