I came across this article, which mentions wrapping everything in a single element when inserting into the DOM. He found it has significant performance gains.
My question is, at what point should I be doing this? Should I do it with all HTML insertions, small and large alike, or just large?
Adding an element to a DOM is costlier than appending DOM to a string variable. So, you should always do it.