When doing projects, specially using APIs, I find myself sometimes creating empty HTML where I know I will add later my API requests results. Now ES6 gives us the possibility to create big chunks of HTML easily so I find myself not knowing which is the best approach now. Imagine the API returns a header, a paragraph and an image, should I create those tags in html, give them a class or an id and leave them there empty to later append the API results? Or should I simply create a template and append all that to a parent element?
Thanks for any feedback.