SSR state lives in the URL
No JavaScript here. The number and theme below are rendered by the C# binary from the query string. Each button is a plain link to a new URL.
Theme: light ·
toggle to dark
This request's query string, parsed on the server:
count=-11§ion=state&theme=light