Axcvia — Learn. Build. Succeed.
All articles

Top 25 React Interview Questions (And How to Actually Answer Them)

The questions that keep showing up in frontend interviews at Indian product companies — grouped by topic, with the reasoning interviewers want to hear rather than memorised definitions.

AMArvind Menon 30 June 2026 11 min read

We run mock interviews every Saturday, and the same React questions come up batch after batch. Here are the ones worth preparing properly.

Fundamentals

  1. What is the virtual DOM and why does React use it? Talk about reconciliation and batching, not just "it's faster".
  2. Difference between state and props? Ownership and mutability.
  3. What are keys and why do they matter in lists? Explain what goes wrong when you use the array index.
  4. Controlled vs uncontrolled components.
  5. What does `useEffect` actually do, and when does it run?

Hooks

  1. Why can't you call hooks inside conditions?
  2. Explain useMemo vs useCallback — and when not to use them.
  3. How would you write a custom hook for fetching data?
  4. What problem does useRef solve beyond DOM access?
  5. What is stale closure and how does it show up with setInterval?

State management

  1. When do you reach for Context vs a library like Zustand or Redux?
  2. How do you avoid unnecessary re-renders with Context?
  3. Explain lifting state up with an example.

Performance

  1. What is code splitting and how do you do it in React?
  2. How does React.memo work, and why might it make things slower?
  3. How would you debug a component that re-renders too often?

Modern React

  1. Server Components vs Client Components — what runs where?
  2. What are Suspense boundaries?
  3. How do you handle forms with Server Actions?

Practical / coding

  1. Build a debounced search input.
  2. Implement a simple modal with focus trapping.
  3. Write a component that paginates an API.
  4. Fix a given component that has a memory leak.

Behavioural

  1. Walk us through a bug you found in production.
  2. How do you review someone else's pull request?

How to prepare

Don't memorise answers. For every question, build a 20-line example in CodeSandbox. When you've written the stale-closure bug yourself, you never forget the explanation.

Learn this properly

Courses that teach this

Web Development

Frontend Development with React

Modern UI engineering with React & Next.js

₹32,999 ₹42,000· 3 months

Full Stack

Full Stack Web Development

Become a job-ready MERN stack developer in 5 months

₹49,999 ₹65,000· 5 months

AM

Written by

Arvind Menon

Lead Trainer — Full Stack & Frontend

Former senior engineer at Flipkart with a decade of experience shipping large-scale React and Node.js applications. Has mentored hundreds of students into their first developer roles.

LinkedIn

Keep Reading

Related articles

How to Become a Full Stack Developer in 2026 (Without a CS Degree)Career Guides
28 July 2026 8 min read

How to Become a Full Stack Developer in 2026 (Without a CS Degree)

A realistic, month-by-month roadmap from zero to job-ready full stack developer — what to learn, what to skip, and how to build a portfolio recruiters actually open.

Read article
Java vs Python for Your First Programming Job: An Honest ComparisonCareer Guides
14 July 2026 7 min read

Java vs Python for Your First Programming Job: An Honest Comparison

Both languages can land you a job. We compare hiring demand in India, learning curve, salaries, and which one fits your background — with data from our own placement cell.

Read article
From B.Com to Software Engineer at Freshworks: Sneha's StoryStudent Stories
12 June 2026 6 min read

From B.Com to Software Engineer at Freshworks: Sneha's Story

Sneha had never written a line of code before joining Axcvia. Eight months later she accepted an offer at Freshworks. She talks about the hard middle stretch, mock interviews, and what she'd do differently.

Read article