import React from 'react'; /** This custom hook run in the same phase that componentDidUpdate does. It will not run on first render, i.e when we assign an initial state. It will only run after the dependency states finally starts to change. **/ declare const useDidMountEffect: (func: React.EffectCallback, deps?: React.DependencyList) => void; export default useDidMountEffect;