@virtualstate/examples
Version:
25 lines • 785 B
JavaScript
import { createNode, Resolve, h } from "@virtualstate/fringe";
async function* Inner() {
const z = createNode(Resolve, { wow: 1 });
const i = h(Resolve, { base: Symbol("Cool") });
const s = z.source;
const k = createNode(z, {}, h("p", null, "Hello!"));
const j = createNode(i, { hey: 6 }, h("p", null, "Hello!"));
const LabelAsComponentFirst = j;
const l = h(LabelAsComponentFirst, { hi: "!!!" });
yield h("hi", null,
z,
i,
s,
k,
j,
l,
k({ property: 1 }),
j({ property: 2 }),
Resolve({ property: 3 }));
}
const node = (h(Resolve, null,
h(Inner, null)));
export const _704_TokenFunction = node;
export const _704_URL = import.meta.url;
//# sourceMappingURL=token-function.js.map