We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OnInitializedAsync is executed for twice on pre-render
[dani@localhost tw]$ dotnet --version 3.0.100-preview8-013656
I wrote this code:
@page "/" @inject IUriHelper UriHelper <h1>Hello, world!</h1> Welcome to your new app. @code{ protected async override Task OnInitializedAsync() { System.Console.WriteLine("_* "); System.Console.WriteLine("_**************************"); System.Console.WriteLine("_***** Pre render ******"); System.Console.WriteLine("_**************************"); System.Console.WriteLine("_ "); return; } }
And I see is executed for twice only on pre-render:
Has it some explanation?
The question on stackoverfow: Blazor UriHelper.NavigateTo is calling the page twice
The text was updated successfully, but these errors were encountered:
I think blazor related issues should be posted in AspNetCore repo: https://github.com/aspnet/AspNetCore
Sorry, something went wrong.
Of course @hez2010 , thanks: dotnet/aspnetcore#13607
No branches or pull requests
Issue
OnInitializedAsync is executed for twice on pre-render
General
I wrote this code:
And I see is executed for twice only on pre-render:
Has it some explanation?
The question on stackoverfow: Blazor UriHelper.NavigateTo is calling the page twice
The text was updated successfully, but these errors were encountered: