Blog
React interview guides
Practical write-ups of the questions hiring teams ask, each tied to a live exercise you can solve in the browser.
- interview prep
Top 5 things you need to know before a React interview
Most React coding interviews test the same five things: how you update state, use effects, render lists, handle forms, and fetch data. Practice each one live.
- AI
Why learn React in the AI era?
AI can write React in seconds. Learning it still matters because you have to judge the result: state, re-renders, fetching, and whether the code is actually good.
- interview prep
How to prepare for a React coding interview
A practical prep plan for React coding interviews: what to practice, how to think while you code, and how to use live exercises to build confidence.
- interview
React interview questions (with live coding practice)
The React interview questions hiring teams actually ask, grouped by topic, with live exercises you can solve in the browser.
- useEffect
useEffect interview questions: deps, cleanup, and infinite loops
Answer useEffect interview questions with a clear model: after-paint sync, dependency arrays, cleanup, and how infinite loops actually start.
- performance
React.memo vs useMemo vs useCallback (interview cheat sheet)
Clear differences between React.memo, useMemo, and useCallback, when they help in interviews, and when they are a smell.
- custom hooks
Custom hooks interview questions (useToggle, useDebounce, and friends)
How to design custom React hooks in interviews: naming, return values, stable callbacks, cleanup, and the hooks people are asked to write on a whiteboard.
- data fetching
Data fetching in React interviews: loading, errors, and race conditions
How to fetch data in React interview exercises: useEffect, loading and error UI, pagination, retries, and AbortController for races.
- context
React Context API interview guide: prop drilling, providers, and useContext
When to use React Context in interviews, how to write a provider and a useAuth hook, and how Context relates to useReducer.
- lists
React list keys: why index as key fails interviews
Why React keys matter, when an array index is the wrong key, and how to render, filter, and sort lists the way interviewers expect.
- useState
useState vs useReducer vs useRef: which one interviews want
A practical guide to choosing useState, useReducer, or useRef in React interviews, with examples of derived state and when refs are the right tool.
- forms
Controlled vs uncontrolled components in React interviews
How to explain controlled and uncontrolled inputs in React, when each is appropriate, and how to build forms interviewers expect to see.