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 A React page with a long list becomes slow when typing in a search box. How do you find and fix the problem?

    Profile before changing code: the React DevTools Profiler shows which components re-render on each keystroke and how long they take. Typical fixes are to stop the whole list re-rendering (memoise…

  2. Users report that a React app's memory keeps growing the longer they keep it open. How do you investigate?

    Reproduce the usage pattern, take heap snapshots in Chrome DevTools before and after repeating it, and compare which objects keep growing (detached DOM nodes, listeners, closures holding large…

Was this page helpful?

Report a mistake