⚛️

React

React interview questions covering components, hooks, state management, and performance optimization

5 Total Questions
1 Easy
4 Medium
0 Hard
Q1Easy

What is the difference between functional and class components?

componentsfunctionalclass
Q2Medium

What are React hooks? Explain useState and useEffect.

hooksuseStateuseEffect
Q3Medium

What is the virtual DOM and how does it work?

virtual-domdiffingreconciliation
Q4Medium

Explain React component lifecycle methods.

lifecyclecomponentDidMountuseEffect
Q5Medium

What is prop drilling and how to avoid it?

prop-drillingcontextstate-management