Type ReloadConfig
type ReloadConfig struct {
Snapshot func() ([]StateSlot, error)
Restore func([]StateSlot) error
}ReloadConfig explicitly snapshots application-owned state across a development worker replacement. The runtime preserves window, focus, pointer, and scroll state independently.