1 | import { useEffect } from 'react';
|
2 | declare const _default: typeof useEffect;
|
3 | /**
|
4 | * Is `useLayoutEffect` in a DOM or React Native environment, otherwise resolves to useEffect
|
5 | * Only useful to avoid the console warning.
|
6 | *
|
7 | * PREFER `useEffect` UNLESS YOU KNOW WHAT YOU ARE DOING.
|
8 | *
|
9 | * @category effects
|
10 | */
|
11 | export default _default;
|