prevent breaking change for interactive components referencing PageState.Pages

This commit is contained in:
sbwalker 2024-07-23 12:47:54 -04:00
parent 9e3df97737
commit 5559f20511

View File

@ -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>();
}
}