useIsomorphicLayoutEffect ​
Hook conditionally selects either `useLayoutEffect` or `useEffect` based on the environment
typescript
import { useIsomorphicLayoutEffect } from '@siberiacancode/reactuse';
Usage ​
typescript
useIsomorphicLayoutEffect(() => console.log('effect'), [])