feat: introduce ctx close mechanism using beforeunload event; small fixes and improvements; improve live reload example

This commit is contained in:
Joao Goncalves
2025-11-13 12:11:26 -01:00
parent d282773379
commit b9df99889e
6 changed files with 92 additions and 55 deletions

3
go.mod
View File

@@ -1,11 +1,12 @@
module github.com/go-via/via
go 1.25.3
go 1.25.4
require maragu.dev/gomponents v1.2.0
require (
github.com/fsnotify/fsnotify v1.9.0
github.com/go-via/via-plugin-picocss v0.0.0-20251112183909-4485ba2e31d8
github.com/starfederation/datastar-go v1.0.3
github.com/stretchr/testify v1.10.0
)