import { useState } from"react";
/**
* Compute a value on first render and never again,
* Equivalent of const [x] = useState(()=> ...)
*/exportfunctionuseConst(getValue) {
const [value] = useState(getValue);
return value;
}
//# sourceMappingURL=useConst.js.map