Files
est-frame/node_modules/@restart/hooks/cjs/useIsomorphicEffect.d.ts
2025-10-22 05:38:27 +00:00

12 lines
334 B
TypeScript
Executable File

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