Persist-Component-State Tag in _host.cshtml

Hi,

I just realized that in newly created blazor server applications you find in _host.cshtml in "body" a tag "persist-component-state".

I came across this because I compared an old _host.cshtml from my application with a newly created on because of other reasons.

Because I did not knew this tag I googled and found out that it enables a state holding feature which was long time missed in blazor apps and needed always to be implemented yourself with all problems that this has.

I would like to know whether you use this anywhere or anyhow and if it is supported when using it.

Kind regards

Frank

Hi @FrankWuttke,

The new RadzenTheme component is using it to persist the current theme. Radzen Blazor Studio doesn't include any features related to that though.

Thank you Atanas.
I will have a look at it.
Have a nice Sunday!