Fragments, not components
A template, a data handler and the slots it exposes. Siblings fetch concurrently; the page is written in order.
collage is a Go framework for server-rendered sites. A page is a layout around fragments; each fragment fetches its own data, and the page is cached and invalidated by what it was built from. No client framework, no JavaScript build step, no dependencies.
go install github.com/Elagoht/collage/cmd/collage@latest
collage new mysite && cd mysite && go mod tidy
collage dev
A template, a data handler and the slots it exposes. Siblings fetch concurrently; the page is written in order.
Pages and data carry tags. Change an author and one call drops the author and every page that shows them.
Actions answer POST with forgery protection built in, and a cached page can still carry a form.
One program is a server and a static site generator. This site is the second.