first init
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user