Other Companies (Name Not Shared) React.js Interview Questions for Not specified
Shared question set for Not specified of experience, Technical round (React deep dive). Topics and wording follow the supplied notes; these are questions, not official company guidance.
- What is a React component, and how do you design reusable components (component design principles and reusability patterns)?
- Explain useState batching: what happens with consecutive setCount(count + 1) calls?
- Explain stale closures inside setTimeout and asynchronous state updates.
- What are the root causes of infinite re-renders with useEffect, and how do you prevent them?
- How do you use useRef and pass refs between parent and child components?
- What are the memoization trade-offs between useMemo, useCallback and React.memo?
- What is React Fiber architecture, and why was it introduced?
- What is useDeferredValue, and how does it help optimize heavy renders?
- What is the difference between call() and apply()? Solve output-based scenarios covering argument handling.
- What is the difference between tilde (~) and caret (^) in package.json version ranges?
- How would you optimize a page making multiple concurrent API calls?
- How would you handle client-side filtering across a large dataset (about 1,000+ rows)? (Debouncing, memoization, list virtualization, pagination, minimizing redundant renders)
- How would you implement role-based access control (RBAC) for different users?
- How do you handle 404 / Page Not Found in React Router?
- How do you design global state using Redux Toolkit?
- What is reconciliation, and why are unique key props important when rendering lists?