React JS Rapid-Fire Questions & Answers
50 questions for the rapid-fire stage — 31 easy, 17 medium, 2 hard.
About the rapid-fire round
Rapid-fire questions are quick definitions and one-line answers that interviewers fire at the start or end of a round to check your React JS basics. Aim to answer each in under 20 seconds.
Tips for the rapid-fire round
- Answer in one or two sentences, then stop.
- If you don't know, say so quickly and move on; don't guess at length.
- Revise these the morning of the interview.
- Practise with a friend who reads them in random order.
How do you lazy load route components to reduce the initial bundle?
Show answer
What kinds of tests are written for a React application?
Show answer
Why use Link instead of a normal anchor tag in a React app?
Show answer
What is prop drilling and how can you avoid it?
Show answer
Explain the core concepts of Redux.
Show answer
What is the difference between useMemo and useCallback?
Show answer
Can a child component modify its props?
Show answer
What are React hooks and what are the rules of hooks?
Show answer
What is the Flux architecture?
Show answer
What is RTK Query?
Show answer
What is the difference between props and state?
Show answer
What is client-side routing and how does React Router provide it?
Show answer
What is an effect cleanup function and why is it important?
Show answer
What is the Context API and when should you use it?
Show answer
Why is user-event preferred over fireEvent?
Show answer
Should you keep related values in one state object or several useState calls?
Show answer
What are the special files in the Next.js App Router?
Show answer
What are the common approaches to form validation in React?
Show answer
What is hydration?
Show answer
What does useContext do?
Show answer
What is useRef used for?
Show answer
Jest or Vitest: what is the difference for React projects?
Show answer
How do you add multiple languages to a React app?
Show answer
What does lifting state up mean?
Show answer
What are keys in React lists and why are they required?
Show answer
What are the common styling options in React, and how do Server Components affect the choice?
Show answer
What does one-way data flow mean in React?
Show answer
Explain CSR, SSR, SSG and ISR.
Show answer
What is the difference between functional components and class components?
Show answer
What is JSX and how does the browser understand it?
Show answer
How does React decide whether to keep or reset a component's state?
Show answer
When would you add end-to-end tests with Playwright or Cypress?
Show answer
How does the dependency array of useEffect control when the effect runs?
Show answer
What is automatic batching in React 18 and later?
Show answer
What are synthetic events in React?
Show answer
What is Next.js and why would you use it instead of plain React?
Show answer
How do environment variables work in a React or Next.js app?
Show answer
What is the guiding philosophy of React Testing Library?
Show answer
What is useEffectEvent?
Show answer
What is tree shaking?
Show answer
How do form Actions work in React 19?
Show answer
What is the difference between getBy, queryBy and findBy queries?
Show answer
Why must Redux reducers be pure functions?
Show answer
What changed with createRoot in React 18 and later compared to ReactDOM.render?
Show answer
What is the difference between BrowserRouter and HashRouter?
Show answer
Explain the Virtual DOM and reconciliation in React.
Show answer
What is the difference between controlled and uncontrolled components?
Show answer
What are Core Web Vitals and how do React apps affect them?
Show answer
What is the children prop?
Show answer
Frequently asked questions
What happens in the React JS rapid-fire round?
Rapid-fire questions are quick definitions and one-line answers that interviewers fire at the start or end of a round to check your React JS basics. Aim to answer each in under 20 seconds.
How do I clear the rapid-fire round?
Answer in one or two sentences, then stop. If you don't know, say so quickly and move on; don't guess at length. Revise these the morning of the interview.
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.