Say I have a list of Items on a page. I click a button and it loads and renders more Items. My Question is how could I have a template that is the same for the preloaded items and the items that are rendered from the ajax call in javascript?
My Ajax call would retu a JSON array of the data needed for the Items.
I thought about rendering the items server side but I have heard thats not really a good way. What Would be the best way to do this?
