Advanced Frontend Patterns: State Management & Performance
Advanced Frontend Patterns: State Management & Performance
Up to 20 questions, shuffled on every run
Master advanced frontend architecture: state management (Redux, Zustand), performance optimization, code splitting, lazy loading, and responsive design patterns.
Answer key and explanations20 questions
The quiz above draws 20 questions at random from these 30, so a second attempt will not be the same run. Everything in the pool is listed here.
What is Redux?
AnswerCentralized state management using a single store, actions, and reducers
What is a selector in Redux?
AnswerA function that extracts and derives specific data from the Redux store
What is Zustand?
AnswerA minimalist state management library using a hooks-based API
What is the React Context API?
AnswerA built-in feature to share data across components without prop drilling
What is code splitting?
AnswerDividing the application bundle to lazy-load specific components or routes
What is tree shaking?
AnswerThe removal of unused exports from the final JavaScript bundle
What is bundle analysis?
AnswerThe use of tools to identify large dependencies and optimization targets
What are web vitals?
AnswerA set of core metrics (LCP, FID, CLS) used to measure user experience
What is LCP (Largest Contentful Paint)?
AnswerThe time it takes to render the largest visible element in the viewport
What is FID (First Input Delay)?
AnswerThe time between a user interaction and the browser’s response
What is CLS (Cumulative Layout Shift)?
AnswerA metric measuring the visual stability of a page during the loading process
What is preloading?
AnswerA browser hint used to fetch high-priority resources early in the lifecycle
What is prefetch?
AnswerA low-priority browser hint to fetch resources for future navigation
What is lazy loading?
AnswerDeferring the loading of non-critical resources until they are visible
What is virtual scrolling?
AnswerA technique that renders only the items currently visible in the viewport
What is memoization in React?
AnswerCaching the results of expensive computations or component renders
What is the useCallback hook?
AnswerA hook that memoizes function references to prevent child re-renders
What is the useReducer hook?
AnswerA hook for managing complex state through actions and a reducer function
What is Recoil?
AnswerA state management library that uses a graph-based atom architecture
What is Jotai?
AnswerA minimalist state management library focused on atomic state units
What is render optimization?
AnswerReducing wasted work by using memoization, keys, and batching
What is hydration in SSR?
AnswerThe process of attaching event listeners to server-rendered HTML markup
What is critical CSS?
AnswerInline styles required for the first paint of the visible viewport
What is the RAIL model?
AnswerA performance framework focusing on Response, Animation, Idle, and Load
What is INP (Interaction to Next Paint)?
AnswerA metric measuring the time from an interaction to the next visual update
What are Web Workers?
AnswerA feature for running scripts in a separate background thread from the UI
What is component composition?
AnswerA pattern of building complex UIs by combining small, focused components
What is the render prop pattern?
AnswerA technique for sharing code by passing a function as a component prop
What is a higher-order component (HOC)?
AnswerA function that takes a component and returns a new enhanced component
What is an error boundary in React?
AnswerA class component that catches JavaScript errors in its child component tree








