title: How to periodically re-render a react component
body: <p>For a reason I will not explain here, I have a react component which I need to re-render every time it finishes rendering, without exceeding the maximum render stack depth.</p>
  <p>I have tried setting some state inside my of <code>useEffect</code> listener to force the component to re-render, but it keeps exceeding the maximum stack size.</p>
  <p>Is there another way?</p>