Sector file // javascript
JAVASCRIPTDECODED.
Closures, async & the core
165 Questions103.9k Views7.0k Upvotes
41 easy77 med47 hard
Medium
3 questionsHow would you use ResizeObserver to react to an element's size changing, without polling getBoundingClientRect() on every frame?
Frontend Β· 645 views Β· observers, tricky, real-world
Views:645Likes:66
How would you use IntersectionObserver to lazy-load images only as they scroll into the viewport?
Frontend Β· 543 views Β· observers, tricky, real-world
Views:543Likes:19
How would you use MutationObserver to detect when a third-party script injects new nodes into the DOM?
Frontend Β· 440 views Β· observers, tricky, real-world
Views:440Likes:58
Seen a JavaScript question that is not here? Add it and help the next candidate.
Share a question