Right now when you want to view something, the server sends it back as JSON and then clientside js renders it by manipulating the DOM.
Except for DHTML and modifying properties and so on, make it so pug renders snippets in different views server side and then the jQuery can just push the html to the right element.
Right now when you want to view something, the server sends it back as JSON and then clientside js renders it by manipulating the DOM.
Except for DHTML and modifying properties and so on, make it so pug renders snippets in different views server side and then the jQuery can just push the html to the right element.