Front End Development Frameworks & State Management Flashcards
6 cards from real Front End Development practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 Front End Development Frameworks & State Management flashcards as text
What is the purpose of React Context API?
Answer: To provide global state that can be accessed by any component without prop drilling
The Context API creates a global data store accessible to any component in the tree, eliminating the need to manually pass props at every level.
In React, what does the 'key' prop help with when rendering lists?
Answer: Helping React identify which items have changed, added, or removed for efficient re-rendering
The key prop gives React a stable identity for each list item, enabling efficient reconciliation by identifying which elements changed.
What is two-way data binding in Angular?
Answer: Synchronizing the model and view so changes to one are automatically reflected in the other
Two-way data binding with [(ngModel)] keeps the component's data model and the template view in sync — changes in either direction update both.
Which state management library is most associated with Vue.js applications?
Answer: Pinia
Pinia is the official, recommended state management library for Vue 3, replacing Vuex as the standard choice for Vue applications.
What is server-side rendering (SSR) in the context of React frameworks like Next.js?
Answer: Generating HTML on the server for each request so users receive a fully rendered page
SSR generates the full HTML for a page on the server before sending it to the client, improving initial load time and SEO.
What is the purpose of React.memo()?
Answer: To memoize a functional component so it only re-renders when its props change
React.memo is a higher-order component that memoizes a functional component, preventing re-renders unless its props have actually changed.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Not reviewed by a subject-matter expert. Editorial policy