We used to throw a navigation exception and that would stop the execution. this was unique on an SSR context and we switched to just signal the navigation and stop the rendering after the current render batch.
As a result, code that was after the NavigateTo instruction wouldn't run, and now it does, and apps need to be aware of that.
Connected report: dotnet/AspNetCore.Docs#37581
We used to throw a navigation exception and that would stop the execution. this was unique on an SSR context and we switched to just signal the navigation and stop the rendering after the current render batch.
As a result, code that was after the NavigateTo instruction wouldn't run, and now it does, and apps need to be aware of that.
Connected report: dotnet/AspNetCore.Docs#37581