/** * Hook to be used similarly to the React.Component#componentDidMount. * Executes the provided `effect` when `dependencies` change but does not * execute the effect initially (on mount) - only on update. * * @param effect {Function} function to be executed when dependencies update * @param dependencies {Any} any valid dependency argument to React.useEffect */ declare const useDidUpdate: (effect: () => void, dependencies: unknown[]) => void; export default useDidUpdate;