title: StateHasChanged() does not reload page
body: <p><strong>Issue:</strong></p>
  
  <p>As mentioned in Title, StateHasChanged does not re-render the page</p>
  
  <p><strong>Objective:</strong></p>
  
  <p>I want to Refresh the page when a button is clicked</p>
  
  <p><strong>Current Code</strong></p>
  
  <pre><code>&lt;button @onclick="CreatePlayer"&gt;Create User&lt;/button&gt;
  
  
  @functions {
  string username;
  
  [CascadingParameter]
  Task&lt;AuthenticationState&gt; authenticationStateTask { get; set; }
  
  async Task CreatePlayer()
  {
      var authState = await authenticationStateTask;
      var user = authState.User;
      var player = await PlayerData.GetByEmail(user.Identity.Name);
  
      if (player == null)
      {
          player = new Player()
          {
              Email = user.Identity.Name,
              UserName = username
          };
  
          await PlayerData.Create(player);
      }
  
      await Task.Delay(50);
      StateHasChanged();
  
  }
  }
  </code></pre>