Performance improvement - set IsFixed="true" on ModuleState CascadingValues so that Blazor will not monitor them for changes

This commit is contained in:
Shaun Walker
2021-02-05 09:37:10 -05:00
parent 988639b603
commit c3e7fa67f3
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
@inject IStringLocalizer<ModuleInstance> Localizer
<ModuleMessage Message="@_message" Type="@_messagetype" />
<CascadingValue Value="this">
<CascadingValue Value="this" IsFixed="true">
@DynamicComponent
</CascadingValue>
@if (_progressindicator)