@virtualstate/examples
Version:
17 lines • 523 B
JavaScript
import { h } from "../../jsx.js";
import { And } from "../experiments/combinational/and.js";
class Component {
iterations = 0;
async *[Symbol.asyncIterator]() {
const id = this.iterations += 1;
yield { reference: `Iteration ${id} 🕊️` };
}
}
const node = h(Component, null);
export const _406_SharedAsync = (h("container", null,
h(And, { size: 3, self: true },
node,
node,
node)));
export const _406_URL = import.meta.url;
//# sourceMappingURL=shared-async.js.map