title: What is the flow of using JWT work on the frontend?
body: <p>I am new to web dev. I built a backend using Django Rest Framework and am <strong>using JWT to handle auth</strong>.</p>
  <p>Now, I want to connect my backend to my frontend in React. But, I am confused how this should be done. <strong>Here are my question</strong>:</p>
  <p>What is the whole <strong>flow of requesting and using JWT access and refresh tokens</strong>? Like, <strong>when</strong> should I request a <strong>new access token</strong> <strong>with my refresh token</strong> and when should I request a <strong>new refresh token</strong>? Thanks!</p>