import {
jsx,
VLayout,
Panel,
Gravity,
Group,
layoutConfig,
Text,
createRef,
} from "doric";
function createFragment() {
return (
<>
>
);
}
@Entry
class Counter extends Panel {
build(root: Group) {
const fragments = createFragment();
const ref = createRef();
let count = 0;
{`${count}`}
{
count++;
ref.current.text = `${count}`;
}}
>
{fragments}
{fragments}
{[0, 1, 2, 3].map((i) => (
))}
;
}
}