title: Node.js Express rendering multiple subsequent views
body: <p>I want to do something like:</p>
  
  <pre><code>//client -&gt; notifies server that client is connected.
  
  //server -&gt; begins fetching information from DB (series of both async and synchronous requests).
  
  //as sets of data become available on server -&gt; server pushes updates to client via res.render()
  </code></pre>
  
  <p>Basically I have a menu item on the client, and I want to update that menu as the data that the server fetches gets ready. is there any way to do this? I notice I can't do </p>
  
  <pre><code>res.render('something');
  // again
  res.render('somethingElse');
  </code></pre>
  
  <p>Because once render is called, then the response is sent, and render cannot be called again </p>
  
  <p>"Error: Can't set headers after they are sent."</p>
  
  <p>Any suggestions?</p>