We have a SPA built with Blazor Hybrid MAUI. For various reason we would like that the user could refresh/reload the app to initial state, similarly to the Refresh/F5 feature in a regular browser. We tried having a button which calls this javascript:
location.reload();That seems to work but it seems like that the memory consumption increases a lot for each refresh/reload so bit worrying. Wondering if anyone knows any good way of doing this?