import { useState } from 'react';
/** Like `useMemo`, but guaranteed never to be reinitialized. Doesn't support dependencies. */
export function useCached(fn) {
    return useState(fn)[0];
}
//# sourceMappingURL=useCached.js.map