Guide
How to build with goapplib, one topic per page.
Start with Getting started, which builds a one-page app whose code CI compiles and renders, then Concepts, which covers how a request flows through goapplib. Views and mixins and Routing build a small app with a list, detail pages, a login check and a page group, all compiled and tested. Templates and components and htmx cover a page’s template, goapplib’s components, and answering htmx with fragments.
Components and the page lifecycle covers how tsappkit starts a page’s components in phases, with a live demo.
Island pages covers a server-rendered page whose islands mount from a spec Go writes, each when its load strategy says, with live demos.
Guided tours covers tsappkit’s Tour, where the reader does each step and the step advances when the app reports it, with a live demo.
Docks and drawers covers @panyam/tsappkit-dock: panels in a dockview grid, floating, or in drawers on any edge, with a live demo whose panels are this site’s pages. Dock experiments tries pinned drawers and popout windows, live in your browser.
Two pages cover running an app’s Go handlers in the browser, each with a live demo.
- Go handlers in a Web Worker covers wasmhost’s pieces, mounting files, and the Connect transport.
- State, heavy jobs and long requests covers the cache, throwaway workers, lanes, streaming and aborts.
Records, files and sign-ins covers the storage module through a small notes app: records in the app’s own store, files in mounts (a folder or a GitHub repo), and sign-ins to private repos in connections.