| 1 | What is the difference between passing a component as a prop and nesting it as children? React › Component Composition & Children Props | React | Component Composition & Children Props | Beginner |
| 2 | What is component composition in React and why is it useful? React › Component Composition & Children Props | React | Component Composition & Children Props | Beginner |
| 3 | How would you build a flexible component using multiple named slots instead of a single children prop? React › Component Composition & Children Props | React | Component Composition & Children Props | Advanced |
| 4 | What is the children prop in React and how does it work? React › Component Composition & Children Props | React | Component Composition & Children Props | Intermediate |
| 5 | How does composition help avoid the problem known as prop drilling? React › Component Composition & Children Props | React | Component Composition & Children Props | Intermediate |
| 6 | How do you properly pass through extra props when writing a higher order component? React › Higher-Order Components (HOCs) | React | Higher-Order Components (HOCs) | Intermediate |
| 7 | What is a common naming alternative to render props, using children as a function instead? React › Render Props Pattern | React | Render Props Pattern | Intermediate |
| 8 | What is a React component and what are the two main types? React › Components & JSX | React | Components & JSX | Beginner |
| 9 | What is a simple example of a higher order component that adds a border style to any component? React › Higher-Order Components (HOCs) | React | Higher-Order Components (HOCs) | Beginner |
| 10 | How do you pass data from a parent component to a child component in React? React › Props & State | React | Props & State | Beginner |
| 11 | How does styled components let you write CSS directly inside your JavaScript files? React › Styling in React (CSS Modules, Styled Components & Tailwind) | React | Styling in React (CSS Modules, Styled Components & Tailwind) | Intermediate |
| 12 | How would you type a component's children prop correctly using TypeScript? React › TypeScript with React | React | TypeScript with React | Intermediate |
| 13 | What is JSX and why do React developers use it? React › Components & JSX | React | Components & JSX | Beginner |
| 14 | How would you give a prop a default value in case the parent does not pass one? React › Props & State | React | Props & State | Intermediate |
| 15 | What is the single responsibility principle and how does it apply to writing React components? React › Design Patterns in React | React | Design Patterns in React | Beginner |
| 16 | What is the container and presentational component pattern in React? React › Design Patterns in React | React | Design Patterns in React | Intermediate |
| 17 | What is the compound component pattern in React, and when is it useful? React › Design Patterns in React | React | Design Patterns in React | Advanced |
| 18 | What is forwardRef and why is it needed when passing a ref to a custom component? React › Refs, useRef & forwardRef | React | Refs, useRef & forwardRef | Advanced |
| 19 | How would you create a reusable, generic React component using TypeScript, such as a list component that works with any data type? React › TypeScript with React | React | TypeScript with React | Advanced |
| 20 | Where should you place error boundaries in a real React app? React › Error Boundaries | React | Error Boundaries | Beginner |
| 21 | What is a common sign that an app's state management approach needs to be reconsidered? React › State Management | React | State Management | Beginner |