PsyTask | API Docs
    Preparing search index...

    Variable adapterConst

    adapter: ComponentAdapter = ...

    VanJS reactive system

    import van from 'vanjs-core';

    const { div } = van.tags;
    const Component = adapter.mark((props: { text: string }) =>
    // div content will auto update when props.text changing
    div(() => props.text),
    );
    const { props, nodes, data } = adapter.render(Component);