Message from JavaScript discussions

July 2017

— Oh?

— 

Instead of loading N template docFrags where N = elemPerPage... I can load a single one, then do this in a loop!

templDocs.appendChild(templDocs.cloneNode(true));

— Once async iteration lands bots will be way cooler to write code for

— It clones itself into itself!

— Wait... Doesn't that mean it will contain the same data though?

— This is prior to injecting any data, it is blank

— Oh

— Wait, you're right

— Then how do I make the distinction later between data sources from the array...

— Derp

— I guess maybe I could... set up some sort of addressing

— But templates can be free-floating nodes... they will just jumble together