title: React useNavigate faster than useContext
body: <p>I'm making a website using React, Nodejs, Expressjs and Mysql. It has a login, register and profile pages. When I logged in I'm redirecting users with the <code>useNavigate</code> function to the profile page. Profile page shows the user email.</p>
  <p>But when I navigate users to Profile, in the first display, Profile page is not showing user email. I have to refresh to page to see email.</p>
  <p>I'm using <code>useContext</code> and wrapped all application with Provider. There's no problem. But when I navigate to Profile, <code>useContext</code> working a little bit late and it's not changing state instantly. Is there way solve this?</p>