title: How can methods be called when browser's refresh button is clicked?
body: <p>I want some methods to be called every time the page is being loaded. <code>protected override void OnInitialized()</code> works well on first load and when returning from another component, but not when the browser's refresh button is hit.
  I tried <code>protected override void OnParametersSet()</code> and the other methods described <a href="https://stackoverflow.com/questions/65481713/blazor-and-browser-page-refresh">here</a> and also <code>protected override void OnAfterRender(bool firstRender)</code> but nothing works.</p>
  <p>Many thanks.</p>