prevent breaking change for interactive components referencing PageState.Pages
This commit is contained in:
parent
9e3df97737
commit
5559f20511
|
@ -43,7 +43,7 @@
|
|||
{
|
||||
// trim PageState to mitigate page bloat caused by Blazor serializing/encrypting state when crossing render mode boundaries
|
||||
// please note that this performance optimization results in the PageState.Pages property not being available for use in Interactive components
|
||||
PageState.Site.Pages = null;
|
||||
PageState.Site.Pages = new List<Page>();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user