JavaScript – Speed up DOM manipulation with document.createDocumentFragment

Shamefully I wasn’t aware this existed. That’s what you get for using jQuery most of the time, when it comes to DOM manipulations…. time to write more VanillaJS 😉

https://developer.mozilla.org/en-US/docs/DOM/document.createDocumentFragment

Kommentare

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre, wie deine Kommentardaten verarbeitet werden.