Sector file // javascript
JAVASCRIPTDECODED.
Closures, async & the core
165 Questions104.3k 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 ยท 647 views ยท observers, tricky, real-world
Views:647Likes:66
How would you use IntersectionObserver to lazy-load images only as they scroll into the viewport?
Frontend ยท 545 views ยท observers, tricky, real-world
Views:545Likes:19
How would you use MutationObserver to detect when a third-party script injects new nodes into the DOM?
Frontend ยท 443 views ยท observers, tricky, real-world
Views:443Likes:58
Seen a JavaScript question that is not here? Add it and help the next candidate.
Share a question