server-interactive-proof-of-concept

command
v6.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2026 License: MIT Imports: 12 Imported by: 0

README

107 Server-Interactive POC

This example is a narrow proof-of-concept for server-interactive rendering:

  • the server owns state and renders the initial GWC view
  • the Wasm client hydrates that view and sends small action payloads
  • the server streams updated state snapshots over SSE for GWC to reconcile

Build the Wasm client from the repository root:

$env:GOOS = "js"
$env:GOARCH = "wasm"
go build -o ./examples/server/server-interactive-proof-of-concept/client.wasm ./examples/server/server-interactive-proof-of-concept
Remove-Item Env:GOOS
Remove-Item Env:GOARCH

Then run the native server:

go run ./examples/server/server-interactive-proof-of-concept

Then open http://127.0.0.1:8180.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL