DOM ready events considered harmful

DOM ready events considered harmful

Jake and Cassie (still from off of Greensock) talk about DOM ready events, which can slow down your app in unexpected ways. But what are the alternatives?

DOMContentLoaded → https://goo.gle/3J3QLKt
readyState → https://goo.gle/3d3KS13
Script defer → https://goo.gle/3Bf8zQV
Custom elements → https://goo.gle/3S0EtXa
MUtation observers → https://goo.gle/3Ov3jvv

More videos in the HTTP 203 series → http://goo.gle/HTTP203
Subscribe to Google Chrome Developers here → https://goo.gle/ChromeDevs

Also, if you enjoyed this, you might like the HTTP203 podcast → https://goo.gle/HTTP203Podcast

#HTTP203 #ChromeDeveloper #WebDev