Registry / web-framework / maxence-charriere-go-app-v9

maxence-charriere-go-app-v9

JSON →
library9.8.0gogounverified

A package for building progressive web apps (PWAs) with Go and WebAssembly.

go get github.com/maxence-charriere/go-app/v9
INSTALL
IMPORT
SIG · MAXENCE-CHARRIERE-
M
maxence-charriere-go-app-v9
web-frameworkgov9.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

app
github.com/maxence-charriere/go-app/v9

Create a simple PWA with a route and component

package main import ( "github.com/maxence-charriere/go-app/v9/pkg/app" ) func main() { app.Route("/", func() app.Composer { return &hello{} }) app.RunWhenOnBrowser() } type hello struct { app.Compo } func (h *hello) Render() app.UI { return app.H1().Text("Hello, World!") }
Debug
Known issues
breakingVersion 9 introduced breaking changes from v8, including component lifecycle and routing API.
fix
Refer to the migration guide from v8 to v9.
affects: >=9.0.0
Upgrade
Version history
9.8.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
maxence-charriere-go-app-v9 — go get maxence-charriere-go-app-v9 · libregistry