Interview prep
React Interview Questions
React interviews focus on rendering behaviour, state ownership and effects — plus performance debugging in senior loops.
Questions and answers
01What triggers a re-render in React?
State updates, context value changes and a parent re-rendering. Props changing does not itself trigger anything — the parent re-rendering does, and memoisation is how you cut that chain.
02When do you reach for useMemo or useCallback?
When a value is expensive to compute, or when a referentially stable value is required by a memoised child or a dependency array. Applying them everywhere adds cost without benefit.
03Explain the rules of hooks.
Hooks must be called unconditionally at the top level of a component or another hook, because React matches them by call order across renders.
04How do you handle data fetching in modern React?
Through a caching layer such as TanStack Query or a framework loader, rather than useEffect. That gives deduplication, caching, retries and consistent loading states.
05What causes hydration mismatches in SSR?
Rendering something on the server that differs on the client — dates, random values, or reads of localStorage and window during the first render. Move those reads into an effect.
How to answer these well
Interviewers are not grading recall — they are checking whether you've hit the failure mode the question describes. Anchor every answer to something you actually shipped or debugged with React.
Say the trade-off out loud. "I'd use X here, but it costs Y under Z conditions" scores higher than a clean textbook definition every time.
Roles asking for React
- PT Front End Retail CoordinatorTJX Companies · Easley, SC 29640onsitemidPosted 10 mins ago
- FT Retail Front End CoordinatorTJX Companies · Easley, SC 29640onsitemidPosted 10 mins ago
- Front End Customer Experience Coordinator/Supervisor, Experience and Open Availability RequiredTJX Companies · Dickson, TN 37055onsitemidPosted 10 mins ago
- TJ Maxx Retail Merchandise and Front End AssociateTJX Companies · Austin, TX 78759onsiteentryPosted 10 mins ago
- Retail Front end coordinatorTJX Companies · Burlington, VT 05401onsitemidPosted 10 mins ago
- Pharmacy Technician - Front End Part TimeCVS · MO - SpringfieldonsitemidPosted 19 mins ago
- Pharmacy Technician - Front End Night ShiftCVS · OH - PerrysburgonsitemidPosted 19 mins ago
- Executive Team Leader Service & Engagement (Assistant Manager Front End) - Meridian, IDtarget · 3591 W. Cobalt Drive, Meridian,ID 83642onsitemidPosted 50 mins ago
- Retail Front End CoordinatorTJX Companies · Brookfield, WI 53045onsitemidPosted 1 day ago
- Manufacturing Equipment Technician (MTE) - Front End Nights Shift - Shift 4Intel · US, Arizona, PhoenixonsitemidPosted 1 day ago
Related prep
- Frontend Engineer jobs
- Frontend Engineer career guide
- Full Stack Engineer jobs
- Full Stack Engineer career guide
- Python interview questions
- Java interview questions
- JavaScript interview questions
- AWS interview questions
- Azure interview questions
- Kubernetes interview questions
- Docker interview questions
- Terraform interview questions