import { useEffect, useRef } from 'react';
export var useDidUpdateEffect = function (callback, dependencies) {
    var didMountRef = useRef(false);
    useEffect(function () {
        if (didMountRef.current)
            callback();
        else
            didMountRef.current = true;
    }, dependencies); //eslint-disable-line
};
