dotnet/aspnetcore

Follow links when disconnecting

Open

#9,964 建立於 2019年5月4日

在 GitHub 查看
 (9 留言) (0 反應) (0 負責人)C# (10,653 fork)batch import
affected-mediumarea-blazorenhancementfeature-blazor-servergood first issuehelp wantedseverity-major

倉庫指標

Star
 (37,933 star)
PR 合併指標
 (平均合併 16天 9小時) (30 天內合併 258 個 PR)

描述

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.

貢獻者指南