hydrationprobe

package
v5.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package hydrationprobe holds a deterministic component shared by the server (native RenderToString) and the client (wasm Hydrate) sides of the #37 hydration e2e. Because its markup is identical on the server and the client's first render, a correct hydration ADOPTS the server DOM with zero fallbacks/discards — which the e2e asserts against the framework-reported hydration metrics in a real browser.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HydrationProbe

func HydrationProbe() ui.Node

HydrationProbe renders a small, deterministic tree. It uses an initial UseState value rather than anything time/random-derived so the server and client first renders are byte-identical.

Types

This section is empty.

Jump to

Keyboard shortcuts

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