โ† All Front End Development Flashcard Decks

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
  1. Which React hook is used to perform side effects like data fetching in functional components?

    Answer: useEffect

    The useEffect hook runs side effects (data fetching, subscriptions, DOM manipulation) after render, optionally cleaning up on unmount.

  2. In Vue 3, what replaces the Options API for organizing component logic?

    Answer: Composition API

    Vue 3's Composition API uses setup() and composable functions to organize component logic by feature rather than option type.

  3. What is the purpose of React's useCallback hook?

    Answer: Memoizes a callback function to prevent unnecessary re-creation on re-renders

    useCallback returns a memoized version of a callback that only changes if its dependencies change, preventing unnecessary child re-renders.

  4. In Angular, what decorator is used to define a component?

    Answer: @Component

    The @Component decorator marks a class as an Angular component and provides metadata like its template, styles, and selector.

  5. What does 'prop drilling' refer to in React applications?

    Answer: Passing props through multiple nested components just to reach a deeply nested child

    Prop drilling occurs when props must be passed through several intermediate components that don't need them, just to reach a deeply nested component.

  6. Which tool is most commonly used to scaffold a new React project with zero configuration?

    Answer: Create React App or Vite

    Create React App (CRA) and Vite are popular zero-config tools that scaffold a ready-to-use React project with bundling and dev server configured.

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

Front End Development Frameworks & State Management Flashcards โ€” Front End Development Study Cards with Answers