Skip to content

useIsomorphicLayoutEffect

在非浏览器环境返回 useEffect,在浏览器环境返回 useLayoutEffect。

基本用法