dotnet / dotnet/docs

What about Microsoft.JSInterop.JSDisconnectedException

Open
#27,097 1 comment 0 reactions 0 assignees View on GitHub
dotnet-fundamentals/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

The `Microsoft.JSInterop.JSDisconnectedException` is being thrown in my components when I `AsyncDispose` them after navigating to another URL. I suppose this should be documented in the breaking changes. See also [Issue 33336 on `aspnetcore`](https://github.com/dotnet/aspnetcore/issues/33336)

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: a07a4a03-5b9a-0360-7c78-14284b1cb029
* Version Independent ID: 0ea0a42e-2169-349b-e2e8-fb01ff4874ba
* Content: [Breaking changes in .NET 6 - .NET](https://docs.microsoft.com/en-us/dotnet/core/compatibility/6.0)
* Content Source: [docs/core/compatibility/6.0.md](https://github.com/dotnet/docs/blob/main/docs/core/compatibility/6.0.md)
* Product: **dotnet-fundamentals**
* GitHub Login: @gewarren
* Microsoft Alias: **gewarren**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.