MERN Stack Developer interview Questions
Hey everyone! 👋
Recently, I appeared for a MERN Stack Developer interview, and I’d love to share all the React.js + Frontend questions that were asked.
⚛️ React.js & Frontend Questions
⚛️ React.js & Frontend Questions
- What is React, and what are Hooks?
- Difference between useCallback, useMemo, and React.memo.
- Explain useContext, useRef, and their real use cases.
- Controlled vs Uncontrolled Components — difference & example.
- Why do we use useState instead of updating variables directly?
- Explain useReducer with an example.?
- What is the purpose of React.lazy and Suspense?
- How do you handle errors in React (try-catch, Error Boundary)?
- How do you pass data between components?
- What’s the purpose of a key in React?
- How do you implement pagination in React?
- What are Higher-Order Components (HOCs)?
- Difference between Debouncing and Throttling.
- When and where do you use clearInterval?
- Difference between position: fixed and position: sticky.
- How do you manage routes for Admin and User separately?
- How do you keep form data after page refresh (localStorage / Redux)?
- What’s the difference between CSR, SSR, SSG, and ISR (Next.js)?
- Explain file-based routing in Next.js.
- How do you handle API errors and loading states in React apps?
- How do you optimize a large React app’s performance?
- When do you use Context API vs Redux?
- Explain React 19 features like Actions, useOptimistic, and useTransition.
- What is a Custom Hook and when should you create one?
- How do you start working when you receive a Figma design?
- How do you manage image optimization in Next.js?
- What’s the role of TypeScript in React development?
- How do you prevent memory leaks in React components?

Post a Comment