Hacker News

Favorites Setup
Comment by ThunderSizzle | original | HTML Can Do That
[−]ThunderSizzle · 2026-08-20 Thu 16:52 UTC · link
Ive made SPAs in Blazor that make it a point to update the URL whenever a "navigation" occurs. I also made it a point to ensure refreshing or loading the URL restored the state.

It's a small problem compared to the ease of use for development you can gain via Blazor, so I don't see any reason not to solve it.

[−]bdhdhduuyd · 2026-08-21 Fri 07:42 UTC · link
This. I also create a lot of Blazor apps and I always make sure things like filters are based on GET query parameters.

But this can be done in any JavaScript framework and ofcourse Vanilla JavaScript. It takes some effort, but creates a much better user experience.