I'm trying to understand common location for state preservation from Blazor Official Doc.
currentCount
variable?I have tried to define this into new component like above in my project, but variable is undefined.
How
Counter.razor
andCounterStateProvider.razor
will be associated together?
To summarize comments to help some on in future.
CurrentCount
is the property in defined in above class.