My app uses a homepage that checks a file to see if the user has logged in already. If they have not, the user is sent to a sign-in page via a router.NavigateByUrl(…) call. After the user signs in, the sign-in page uses another router.nagivateByUrl(…) call to send them back to the homepage.
From my testing, it seems that the homepage is not reloaded when the user is sent back after signin in. It’s in the same state as when the app left that page to go to the sign-in page.
How can I force that page to reload?