Skip to content

[Blazor] Interactive server components can't receive Blazor endpoint updates during circuit reconnection #51082

Closed
@MackinnonBuck

Description

@MackinnonBuck

If a Blazor endpoint render occurs while the circuit is disconnected or reconnecting, an error gets logged and component operations get ignored. When the circuit reconnects, the set of root components physically on the page is out of sync with the set of root components on the circuit.

We currently have logic to filter out interactive component "add" operations if there is no renderer attached. We should extend this rule to:

  • Also filter out "update" and "remove" operations.
  • Broaden "is there a renderer attached" to "is the interactive runtime available". For Blazor Server, this includes a check for circuit connectedness.

Metadata

Metadata

Assignees

Labels

area-blazorIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions