rooks
Version:
Essential React custom hooks ⚓ to super charge your components!
11 lines • 431 B
TypeScript
import { useEffect } from "react";
/**
* useIsomorphicEffect
* Resolves to useEffect when "window" is not in scope and useLayout effect in the browser
*
* @param {Function} callback Callback function to be called on mount
* @see https://react-hooks.org/docs/useIsomorphicEffect
*/
declare const useIsomorphicEffect: typeof useEffect;
export { useIsomorphicEffect };
//# sourceMappingURL=useIsomorphicEffect.d.ts.map