dotnet/aspnetcore

Follow links when disconnecting

オープン

#9,964 opened on 2019/05/04

 (9 件のコメント) (0 件のリアクション) (0 人の担当者)C# (10,653 件のフォーク)batch import
affected-mediumarea-blazorenhancementfeature-blazor-servergood first issuehelp wantedseverity-major

Repository metrics

Stars
 (37,933 個のスター)
PR merge metrics
 (PR metrics pending)

説明

As soon as you have lost contact with blazor.server.js, any transition to the links of the prejudice causes the error 'blazor.server.js:1 Uncaught (in promise) Error: Cannot send data if the connection is not in the 'Connected' State.'

I suggest in the absence of communication with the server to perform the usual transition by reference, without using server rendering. In this case, you do not need to display a window about disconnect, and the normal reconnection will be performed with the page reloading.

コントリビューターガイド