9 questions for “Throttling & Memoization”

Found in 1 field. Select a question to see its full answer.

Information Technology

9 questions in 1 technology

#QuestionTechnologyTopicLevel
1What is event delegation and why is it a performance best practice? JavaScript › DOM & EventsJavaScriptDOM & EventsIntermediate
2Why does a long synchronous function block UI updates and event handling? JavaScript › Event Loop & ConcurrencyJavaScriptEvent Loop & ConcurrencyIntermediate
3What is the difference between the generational garbage collection strategy's 'young' and 'old' generations? JavaScript › Memory Management & Garbage CollectionJavaScriptMemory Management & Garbage CollectionIntermediate
4What does the Intersection Observer API do and why is it preferred over scroll event listeners? JavaScript › Browser Storage & Web APIsJavaScriptBrowser Storage & Web APIsAdvanced
5How does the Performance panel in DevTools help diagnose a janky UI? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingAdvanced
6What is the difference between passive and non-passive event listeners for scroll performance? JavaScript › DOM & EventsJavaScriptDOM & EventsAdvanced
7How would you break a large synchronous task into chunks to keep the UI responsive? JavaScript › Event Loop & ConcurrencyJavaScriptEvent Loop & ConcurrencyAdvanced
8What's the relationship between requestAnimationFrame and the event loop's rendering step? JavaScript › Event Loop & ConcurrencyJavaScriptEvent Loop & ConcurrencyAdvanced
9How do you implement a debounce function using closures, and how is it a functional programming technique? JavaScript › Functional ProgrammingJavaScriptFunctional ProgrammingAdvanced