React Interview Questions

React interview questions test hooks, component design, state management, rendering optimization, and the virtual DOM. React JS interviewers want to see that you can explain why a component re-renders and how you'd fix it when it renders too often. This page covers 40 real React interview questions with answers across four formats: multiple choice, written answers, spoken responses, and live coding challenges, the same mix used in modern technical interviews.

Practice each question in your browser with no signup required. Answers stay hidden until you attempt the question: type, speak, or code your response first, then compare it against the model answer. Questions range from fundamentals for your first developer job to scenario-based questions for senior roles, so you can find the gaps in your knowledge before the real interview.

40 questions with answersLast updated: Oct 19, 2026
Start a mock interview

How to practice

  1. Choose a question. Pick any of the 40 questions. They mix multiple choice, written, spoken, and coding, the same mix a real interviewer uses.
  2. Attempt your answer. Select a multiple-choice option, type your written response, record a spoken answer, or write code in the editor.
  3. Reveal the model answer. Once you have attempted the question, the model answer unlocks so you can compare it with yours.
  4. Move to the next question. Track how many questions you have attempted with the progress bar at the top of the page.
  5. Take a mock interview. When you are ready, try a full mock technical interview on Plaicer with AI-driven follow-up questions.

React Interview Questions and Answers

0 of 40 attempted
1Multiple choice

How would you describe React and what problems does it solve in UI development?

Attempt the question first to reveal the answer.

2Written answer

Describe React's purpose, component-based architecture, and ecosystem

Attempt the question first to reveal the answer.

3Spoken answer

Walk through how you would build a counter component with state management

This browser cannot record audio. Answer the question out loud anyway, then compare yourself against the model answer below.

Attempt the question first to reveal the answer.

4Coding

Create a counter component that increments and decrements using useState

Build your React component here

Attempt the question first to reveal the answer.

5Multiple choice

Explain JSX syntax and how it enables writing markup-like code in JavaScript

Attempt the question first to reveal the answer.

6Written answer

Explain how JSX is transformed to JavaScript and React.createElement calls

Attempt the question first to reveal the answer.

7Spoken answer

Describe a situation where you had to lift state and how it improved component communication

This browser cannot record audio. Answer the question out loud anyway, then compare yourself against the model answer below.

Attempt the question first to reveal the answer.

8Coding

Build a controlled form component with input validation

Build your React component here

Attempt the question first to reveal the answer.

9Multiple choice

What are React components and how do functional and class components differ?

Attempt the question first to reveal the answer.

10Written answer

Explain functional components, class components, and why functional components are preferred

Attempt the question first to reveal the answer.

11Spoken answer

Explain how you would fetch data in a component using useEffect

This browser cannot record audio. Answer the question out loud anyway, then compare yourself against the model answer below.

Attempt the question first to reveal the answer.

12Coding

Fetch data from an API using useEffect with loading and error states

Build your React component here

Attempt the question first to reveal the answer.

13Multiple choice

How does the Virtual DOM improve performance compared to direct DOM manipulation?

Attempt the question first to reveal the answer.

14Written answer

Describe diffing algorithm, reconciliation, and why Virtual DOM improves performance

Attempt the question first to reveal the answer.

15Spoken answer

Talk about debugging a performance issue caused by unnecessary re-renders

This browser cannot record audio. Answer the question out loud anyway, then compare yourself against the model answer below.

Attempt the question first to reveal the answer.

16Coding

Render a list of items with proper keys and click handlers

Build your React component here

Attempt the question first to reveal the answer.

17Multiple choice

Contrast props and state, explaining when to use each and data flow

Attempt the question first to reveal the answer.

18Written answer

Explain unidirectional data flow, prop drilling, and composition over inheritance

Attempt the question first to reveal the answer.

19Spoken answer

Describe implementing a form with controlled components

This browser cannot record audio. Answer the question out loud anyway, then compare yourself against the model answer below.

Attempt the question first to reveal the answer.

20Coding

Use conditional rendering to show different UI based on state

Build your React component here

Attempt the question first to reveal the answer.

21Multiple choice

Explain useState hook and how it enables state management in functional components

Attempt the question first to reveal the answer.

22Written answer

Describe state updates, closure behavior, and common useState patterns

Attempt the question first to reveal the answer.

23Spoken answer

Explain how you would use Context API to manage theme switching

This browser cannot record audio. Answer the question out loud anyway, then compare yourself against the model answer below.

Attempt the question first to reveal the answer.

24Coding

Create a custom hook that manages form input state

Build your React component here

Attempt the question first to reveal the answer.

25Multiple choice

Describe useEffect and how to handle side effects with dependency arrays

Attempt the question first to reveal the answer.

26Written answer

Explain side effects, cleanup functions, and dependency array optimization

Attempt the question first to reveal the answer.

27Spoken answer

Walk through creating a custom hook for reusable logic

This browser cannot record audio. Answer the question out loud anyway, then compare yourself against the model answer below.

Attempt the question first to reveal the answer.

28Coding

Implement Context API for managing global theme state

Build your React component here

Attempt the question first to reveal the answer.

29Multiple choice

Explain state lifting and when to move state up the component tree

Attempt the question first to reveal the answer.

30Written answer

Explain component communication, shared state patterns, and alternatives

Attempt the question first to reveal the answer.

31Spoken answer

Talk about handling error boundaries in React applications

This browser cannot record audio. Answer the question out loud anyway, then compare yourself against the model answer below.

Attempt the question first to reveal the answer.

32Coding

Use useCallback to prevent unnecessary re-renders of child components

Build your React component here

Attempt the question first to reveal the answer.

33Multiple choice

How does Context API solve prop drilling and enable global state management?

Attempt the question first to reveal the answer.

34Written answer

Explain Context, Provider, and Consumer; compare to Redux

Attempt the question first to reveal the answer.

35Spoken answer

Describe how you would test a React component

This browser cannot record audio. Answer the question out loud anyway, then compare yourself against the model answer below.

Attempt the question first to reveal the answer.

36Coding

Use useMemo to memoize expensive computations

Build your React component here

Attempt the question first to reveal the answer.

37Multiple choice

Explain hooks and how they enable using state in functional components

Attempt the question first to reveal the answer.

38Written answer

Explain useState, useEffect, useContext, useReducer, useMemo, useCallback and custom hooks

Attempt the question first to reveal the answer.

39Spoken answer

Explain how you would optimize a large list rendering

This browser cannot record audio. Answer the question out loud anyway, then compare yourself against the model answer below.

Attempt the question first to reveal the answer.

40Coding

Build reusable components by composing smaller components

Build your React component here

Attempt the question first to reveal the answer.

Topics covered

  • JSX and components: function vs class components, composition
  • Props vs state, unidirectional data flow
  • State: useState, lifting state up
  • Effects: useEffect, dependency arrays, cleanup, data fetching
  • Context API and avoiding prop drilling
  • Hooks: useMemo, useCallback, useReducer, custom hooks
  • Rendering: the virtual DOM, reconciliation, keys in lists
  • Performance: preventing unnecessary re-renders, large lists
  • Forms: controlled components and validation
  • Error boundaries, conditional rendering, and Redux vs Context

Frequently asked questions

How many React interview questions are on this page?
40 real React interview questions across four formats: multiple choice (10), written answer (10), spoken answer (10), and coding (10).
Do I need to sign up to practice?
No. All 40 questions and model answers are free with no signup. You attempt each question first, and the model answer unlocks once you have engaged.
Who are these React interview questions for?
Developers preparing for React technical interviews at any level, from first job to senior engineer roles. Questions cover fundamentals through real-world scenarios.
What topics do the React questions cover?
The questions cover components, props, and state. They also test hooks including useEffect, useMemo, useCallback, custom hooks, and the Context API. Other topics include rendering and the virtual DOM, performance, forms, and error boundaries.
Can I practice coding questions in the browser?
Yes. Coding questions include starter code in an in-browser editor, so you can write your solution without installing anything.
How often are the questions updated?
The question bank is reviewed regularly and updated to reflect current React interview patterns.
Can I take a full mock interview?
Yes. Plaicer's mock technical interview walks you through a realistic 30 to 45 minute interview with AI-driven follow-up questions.
Does the React content cover hooks and class components?
The questions focus on function components and hooks, which is what most React interviews test today. Class components appear only where comparing the two is useful.

Pick your language

View all programming interview questions

Reading answers is not the same as giving them. Sit a full mock interview and get scored on how you actually explain them.

Try a mock interview