blazor-desktop-crossplatform-sample icon indicating copy to clipboard operation
blazor-desktop-crossplatform-sample copied to clipboard

Fix counter value not reloading from AppState.

Open mellamokb opened this issue 3 years ago • 0 comments

When you open the Counter page, increment, then leave and come back, the counter is reset to 0. However the AppState keeps the increased value. This leads to confusing results when you click the WinForms button because it returns AppState value, which may be different than the page. The fix is to re-load AppState Counter value each time you visit Counter page.

mellamokb avatar Dec 02 '23 22:12 mellamokb