UNPKG

one

Version:

One is a new React Framework that makes Vite serve both native and web.

9 lines (8 loc) 209 B
const w = /* @__PURE__ */ new WeakMap(), weakKey = (item) => w.get(item) ?? (() => { const k = `${Math.random()}`; return w.set(item, k), k; })(); export { weakKey }; //# sourceMappingURL=weakKey.js.map