Type-safe by construction
Components lower to plain Go the compiler checks. Props are generated structs — gsx owns the field names, so there is no symbol-resolver guesswork.
JSX-style markup, compiled to plain Go.
Components lower to plain Go the compiler checks. Props are generated structs — gsx owns the field names, so there is no symbol-resolver guesswork.
JSX-style markup for templates; ordinary Go for everything else. Capitalization decides component-vs-element.
gsx.Node has the identical method set to templ.Component, so gsx output drops into the templ ecosystem without importing templ.