Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Blazor] Restore client-side state after failing to reconnect to the circuit #56678

Open
MackinnonBuck opened this issue Jul 8, 2024 · 1 comment
Labels
area-blazor Includes: Blazor, Razor Components enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-blazor-server

Comments

@MackinnonBuck
Copy link
Member

As part of the changes in #55723, Blazor Server apps will automatically reload the page during reconnection if the underlying circuit no longer exists. We should consider enhancing this experience further by automatically restoring client-side state.

This would likely include user input for the following HTML elements:

  • <input>
  • <select>
  • <textarea>

However, this does not include restoring server-side state, as that is tracked by #30344

@MackinnonBuck MackinnonBuck added enhancement This issue represents an ask for new feature or an enhancement to an existing one area-blazor Includes: Blazor, Razor Components labels Jul 8, 2024
@MackinnonBuck MackinnonBuck added this to the .NET 10 Planning milestone Jul 8, 2024
@konradbartecki
Copy link

By the way this was done in my PR of #32122

It gave an opt-in possibility for clients to automatically reload the page once a rejected circuit was detected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-blazor-server
Projects
None yet
Development

No branches or pull requests

3 participants