Interview Q&A · questions with model answers

React Developer Interview Questions

Part of the study plan for: Frontend Engineer · Full Stack Engineer

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. Most asked Why must React state be updated immutably, and how do you update nested state?

    React decides whether to re-render by comparing references (Object.is). Mutating an object or array in place keeps the same reference, so React may skip updates and memoized components show stale…

  2. Why can React Context cause performance problems, and how do you mitigate them?

    Every consumer re-renders when the provider's value changes. Passing a new object literal each render, or putting fast-changing values in one big context, causes widespread re-renders.

  3. Why did the React ecosystem move from Create React App to Vite and frameworks?

    Create React App was deprecated in 2025: it was slow (Webpack-based) and lacked routing, data loading and SSR solutions. Vite offers near-instant dev server startup and fast HMR via native ESM,…

Was this page helpful?

Report a mistake