Skip to content
New issue

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

[Bug] Hot reload on Blazor: StateHasChanged may not being executed #2503

Closed
blazorin opened this issue Sep 15, 2021 · 2 comments
Closed

[Bug] Hot reload on Blazor: StateHasChanged may not being executed #2503

blazorin opened this issue Sep 15, 2021 · 2 comments
Labels
area-blazor Blazor Hybrid / Desktop, BlazorWebView t/bug Something isn't working

Comments

@blazorin
Copy link

blazorin commented Sep 15, 2021

The title says it all. The hot reload is applied, and the component is generated and loaded again, but you can't see those changes until you instance that component again from Blazor.
.NET 6 RC1

Execution of the StateHasChanged method after the hot-reload tasks may solve that issue, just as we can do with Wasm or Server.

@Eilon Eilon added the area-blazor Blazor Hybrid / Desktop, BlazorWebView label Sep 16, 2021
@blazorin
Copy link
Author

This issue is related with this one opened a day later: #2527

@jsuarezruiz jsuarezruiz added the t/bug Something isn't working label Oct 22, 2021
@mkArtakMSFT
Copy link
Member

Closing this as a dupe of #2527

@Eilon Eilon closed this as completed Dec 13, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Blazor Hybrid / Desktop, BlazorWebView t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants