React / foldkit-react-codegen

foldkit-react-codegen

Compile Foldkit view functions to React TSX source. It works on the TypeScript syntax tree, so the output keeps your variable names, control flow, helpers, and imports. When a construct has no faithful React translation, it refuses with a located diagnostic instead of guessing.

view(model, h: HtmlBuilder<Message>): Html
        │  foldkit-react-codegen
        ▼
view(model, dispatch: (message: Message) => void): ReactNode