Merge pull request #4460 from sbwalker/dev
prevent breaking change for interactive components referencing PageState.Pages
This commit is contained in:
@ -43,7 +43,7 @@
|
|||||||
{
|
{
|
||||||
// trim PageState to mitigate page bloat caused by Blazor serializing/encrypting state when crossing render mode boundaries
|
// 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
|
// 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>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user