Patterns
Patterns are copyable userland conventions built from ordinary Go and gsx.
Available patterns
- Package renderers — keep third-party value policy in an application-owned
.gsxpackage. - Render once — emit a dialog container, inline style or script, or another singleton once per request.
- Translation keys — write i18n keys in markup; a context-aware renderer translates them for the request's locale.
- Streaming flush — flush the response mid-page so the browser paints above-the-fold markup before the slow tail.