woby
Version:
A high-performance framework with fine-grained observable/signal-based reactivity for building rich applications.
19 lines (18 loc) • 604 B
JavaScript
import { w as SYMBOL_UNTRACKED_UNWRAPPED, D as DEBUGGER, x as Stack, S as SYMBOL_CLONE } from "./setters-Ddu0s6oK.js";
const SYMBOL_STACK = Symbol("STACK");
const wrapElement = (element) => {
element[SYMBOL_UNTRACKED_UNWRAPPED] = true;
if (DEBUGGER.test)
element[SYMBOL_STACK] = new Stack("createElement");
return element;
};
const wrapCloneElement = (target, component, props) => {
target[SYMBOL_CLONE] = { Component: component, props };
return target;
};
export {
SYMBOL_STACK as S,
wrapElement as a,
wrapCloneElement as w
};
//# sourceMappingURL=wrap_clone_element-CPcdGL7P.js.map