In Defence of DOMContentLoaded
CSS Wizardry
JUNE 30, 2023
Honestly, I started writing this article, for no real reason and somewhat without context, in December 2022—over half a year ago! More accurately, DOMContentLoaded signifies that all blocking and defer and type=module code has finished running. It no longer feels like trivia-for-the-sake-of-it thanks to a recent client project.
Let's personalize your content