All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
7 lines
317 B
TypeScript
7 lines
317 B
TypeScript
import { useLayoutEffect } from 'react';
|
|
/**
|
|
* A hook that resolves to useEffect on the server and useLayoutEffect on the client
|
|
* @param callback {function} Callback function that is invoked when the dependencies of the hook change
|
|
*/
|
|
export declare const useIsomorphicLayoutEffect: typeof useLayoutEffect;
|