What is the best way, the best performance, to generate the final HTML. Direct on server-side or receive the database data and generate HTML on client-side ?
In the development of my current application, I came across this doubt, by receiving the data from the server and then generating much of the HTML in JavaScript.