add WASM blazor-like thing

This commit is contained in:
2026-07-13 00:40:08 -04:00
parent 98978e4930
commit 3c494605ba
38 changed files with 3070 additions and 1 deletions

7
go/vdom/mode_native.go Normal file
View File

@@ -0,0 +1,7 @@
//go:build !(js && wasm)
package vdom
// IsClient is false on the server (native). Components use it to guard
// client-only effects (e.g. fetching) so they don't run during SSR.
const IsClient = false