import { useEffect, useRef } from 'react';
export var useMutableRef = function (value) {
    var ref = useRef(value);
    useEffect(function () {
        ref.current = value;
    }, [value]);
    return ref;
};
