This commit is contained in:
2026-07-27 22:57:03 +02:00
commit 70a0a07ecc
107 changed files with 2369 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.useLazyRef = void 0;
var _react = require("react");
const useLazyRef = init => {
const [ret] = (0, _react.useState)(init);
return ret;
};
exports.useLazyRef = useLazyRef;
//# sourceMappingURL=lazy-ref.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"names":["_react","require","useLazyRef","init","ret","useState","exports"],"sourceRoot":"../../../src","sources":["utils/lazy-ref.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEO,MAAMC,UAAU,GAAOC,IAAa,IAAQ;EAClD,MAAM,CAACC,GAAG,CAAC,GAAG,IAAAC,eAAQ,EAAIF,IAAI,CAAC;EAC/B,OAAOC,GAAG;AACX,CAAC;AAACE,OAAA,CAAAJ,UAAA,GAAAA,UAAA","ignoreList":[]}