React JS Technical Round Questions & Answers
40 questions for the technical round stage — 5 easy, 28 medium, 7 hard.
About the technical round round
The technical round is the core of a React JS interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
Tips for the technical round round
- Say your approach out loud before you start writing.
- After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question.
- Pick one project you can explain end to end, including what you would do differently.
- If you get stuck, explain what you would try next instead of going silent.
What is Zustand and how do you use it?
Show answer
Create a Redux Toolkit slice for a counter.
Show answer
What is list virtualisation?
Show answer
An orders table renders 10,000 rows and the page freezes on load and scroll. What would you do?
Show answer
When should you choose useReducer over useState? Show a small example.
Show answer
Show a Server Function used to handle a form in Next.js.
Show answer
What is lazy initialisation in useState and when should you use it?
Show answer
What is useId and why not use Math.random for ids?
Show answer
What is the difference between useMemo and useCallback?
Show answer
What is the difference between getBy, queryBy and findBy queries?
Show answer
How do you test a component that fetches data from an API?
Show answer
Users lose their typed data when they accidentally click another menu link. How would you warn them about unsaved changes?
Show answer
After navigating between pages for a while, the app's memory keeps growing and it slows down. How do you investigate a memory leak?
Show answer
How would you update deeply nested state cleanly? Show with Immer.
Show answer
What is tree shaking?
Show answer
Why should you use the functional form of setState? Show an example.
Show answer
What is Redux middleware?
Show answer
How do you set SEO metadata in a Next.js App Router page?
Show answer
During a security review you find a payment provider's secret key in the browser's JavaScript bundle. What do you do?
Show answer
Explain CSR, SSR, SSG and ISR.
Show answer
Five components on one page each fetch the same user profile, causing duplicate API calls. How would you fix this?
Show answer
A junior notices that every child component re-renders when the parent's state changes, even when their props did not change. How do you explain this?
Show answer
How does React decide whether to keep or reset a component's state?
Show answer
What is the render props pattern?
Show answer
Your React app works locally, but after deployment refreshing /dashboard gives a 404 from the server. Why, and how do you fix it?
Show answer
How do you find what is making a React page slow?
Show answer
Your team's old codebase uses PropTypes and is upgrading to React 19. What would you recommend for checking prop types?
Show answer
An accessibility audit says your signup form fails screen reader checks. What would you fix to make the form accessible?
Show answer
What are memoised selectors and why use createSelector?
Show answer
Show how to fetch data with TanStack Query.
Show answer
A teammate writes user.name = 'Ravi' inside a click handler and the screen does not update. Why?
Show answer
Your component fetches data in useEffect and the network tab shows thousands of requests in a loop. What could cause it?
Show answer
Your manager asks you to set up a new React project in 2026 and suggests Create React App. What would you recommend?
Show answer
A teammate writes setCount(count + 1) three times in a click handler and is surprised that the count increases by only one. Explain why.
Show answer
Explain useTransition and useDeferredValue.
Show answer
What is the difference between server state and client state?
Show answer
How do you use React DevTools for debugging?
Show answer
Which queries should you prefer in React Testing Library and why?
Show answer
How do you implement code splitting with React.lazy and Suspense?
Show answer
Frequently asked questions
What happens in the React JS technical round round?
The technical round is the core of a React JS interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
How do I clear the technical round round?
Say your approach out loud before you start writing. After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question. Pick one project you can explain end to end, including what you would do differently.
Which round comes next?
A typical order is online assessment, telephonic screening, one or two technical rounds, a managerial round and HR. Use the other round pages to practise each stage.