Book a strategy call
All interview questions
Interview questions

React Interview Questions

React interview questions for junior, middle and senior developers, with what a strong answer should cover.

Questions
9
Levels
Junior, Middle, Senior
Reviewed by
Last updated
October 29, 2026
On this page
Hiring for this role?

Junior React interview questions

What is JSX and why does React use it?

Look for: JSX is syntax that compiles to React element calls, it keeps markup and logic together, and expressions go in curly braces.

What is the difference between props and state?

Look for: props are passed in by the parent and read-only; state is owned by the component and changes trigger a re-render.

Why do list items need a key?

Look for: keys let React match items between renders; they should be stable and unique, so array indexes are a poor choice for lists that change.

Middle React interview questions

When does useEffect run, and how do you clean up an effect?

Look for: after render, when dependencies change; the returned function runs before the next effect and on unmount, for example to remove listeners or cancel requests.

How would you avoid unnecessary re-renders?

Look for: measuring first with the Profiler, then memo, useMemo and useCallback where they help, and moving state closer to where it is used.

How do you handle data fetching in a React app?

Look for: loading, error and empty states, request cancellation, and a library such as React Query for caching and deduplication.

Senior React interview questions

How would you structure state in a large React application?

Look for: separating server state from client state, keeping state local by default and choosing global stores deliberately.

What are React Server Components and when would you use them?

Look for: components rendered on the server that send no JavaScript to the client, used for data-heavy, non-interactive parts of the page.

How would you introduce a design system across several React apps?

Look for: a shared component package, tokens, versioning, documentation, accessibility testing and a migration plan.

Interview questions

More interview questions

Question sets for other developer roles and skills, grouped by seniority.