I'm trying to understand common location for state preservation from Blazor Official Doc.
- Should wrapping code be defined in separate razor component?
- How that component would refer
currentCountvariable?
I have tried to define this into new component like above in my project, but variable is undefined.
How
Counter.razorandCounterStateProvider.razorwill be associated together?


