aspnetcore icon indicating copy to clipboard operation
aspnetcore copied to clipboard

Update the weather page in the Blazor Web App template to persist prerendered state

Open danroth27 opened this issue 2 years ago • 3 comments

The weather page in the Blazor Web App template doesn't currently persist its prerendered state. This means that if the weather page is rendered interactively and you browse directly to the weather page, you'll see the weather prerendered, then replaced with Loading..., and then rendered again. The flash is particularly visible because we include the Task.Delay(500) to simulate loading the weather data.

danroth27 avatar Oct 07 '23 22:10 danroth27

Thanks for contacting us.

We're moving this issue to the .NET 9 Planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s). If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues. To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

ghost avatar Oct 09 '23 16:10 ghost

Thanks for contacting us.

We're moving this issue to the .NET 9 Planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s). If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues. To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

ghost avatar Dec 13 '23 17:12 ghost

Yes, this flicker indeed gives me a very bad first image when I try the default template. The ideal way should be the framework re-uses the state like angular does.

renping106 avatar Feb 23 '24 14:02 renping106