mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
12 lines
334 B
TypeScript
12 lines
334 B
TypeScript
import { useEffect } from 'react';
|
|
declare const _default: typeof useEffect;
|
|
/**
|
|
* 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
|
|
*/
|
|
export default _default;
|