UNPKG

one

Version:

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

8 lines (7 loc) 213 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.mjs.map