import { EffectCallback } from 'react' ; import useIsomorphicLayoutEffect from './useIsomorphicLayoutEffect' ; const useMount = ( effect ) => { useIsomorphicLayoutEffect ( effect , [ ] ) ; } ; export default useMount ;