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.
Island pages covers a server-rendered page whose islands mount from a spec Go writes, each when its load strategy says, with live demos.
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.