How to persist state across the Blazor static-to-interactive render boundary in .NET 11
A prerendered Blazor component runs its initialization twice and loses state at the interactive handoff. Fix it with the [PersistentState] attribute or the PersistentComponentState service in .NET 11.