React interview questions and answers

5 React questions interviewers ask most often. Read the answer, then practise saying it in your own words.

What is the virtual DOM and why does React use it?

Model answer coming soon. Sign up free to see answers for every question and practise them.

Explain useEffect and its dependency array.

Model answer coming soon. Sign up free to see answers for every question and practise them.

How do you prevent unnecessary re-renders?

Model answer coming soon. Sign up free to see answers for every question and practise them.

What are keys and why do they matter in lists?

Model answer coming soon. Sign up free to see answers for every question and practise them.

When would you use context over props or a store?

Model answer coming soon. Sign up free to see answers for every question and practise them.

More interview questions

Get questions written for your own resume

Create your free account