title: Using setInterval() to do simplistic continuous polling
body: <p>For a simple web app that needs to refresh parts of data presented to the user in set intervals, are there any downsides to just using <code>setInterval()</code> to get a JSON from an endpoint instead of using a proper polling framework?</p>
  <p>For the sake of an example, let's say I'm refreshing the status of a processing job every 5 seconds.</p>