J111: MutationObserver

preview_player
Показать описание
Hi everyone, and welcome to another exciting edition of Boring JavaScript! Today, I take a look at the MutationObserver. No, it's not some sort of review of zombie movies, but rather it's a JavaScript observer that throws an event when a node you specifies "mutates" (changes). It's a great way to monitor your website for business requirements like analytics. Check it out!

#javascript #mutationobserver

--- TABLE OF CONTENTS ---
00:00 Start
00:15 Introduction to MutationObserver
01:16 The Problem MutationObserver Solves
02:55 A Bad Example
04:19 A Really Bad Example
05:52 MutationObserver to the Rescue!
11:30 Sign Off
Рекомендации по теме