title: When javascript loop inserts HAML partials, does server begin rendering partials before loop finishes?
body: <p>I'm working on displaying JSON from ajax request with Ruby on Rails but would like to know the following as it would help in the way I layout my code.</p>
  
  <p>Does server immediately render haml/erb partials inserted via javascript loop via javascript escape function(rails) or would javascript loop finish inserting partials and then server would render all partials? Rails 4.2.4 </p>
  
  <p>Will see if I can test this to find out in the mean time.</p>