Use ComponentTagHelper parameters on Blazor Server for passing state to allow pre-rendering to function properly ( ComponentTagHelper parameters do not work on Blazor WebAssembly - likely a .NET 5 bug )

This commit is contained in:
Shaun Walker
2021-09-23 17:16:51 -04:00
parent c1b482e0c0
commit 005843ef2d
4 changed files with 45 additions and 30 deletions

View File

@ -55,7 +55,7 @@
protected override async Task OnParametersSetAsync()
{
if (PageState == null && !string.IsNullOrEmpty(Runtime))
if (PageState == null)
{
await Refresh();
}