Memo, Ref & Context Hooks interview questions

18 Memo, Ref & Context Hooks questions from the React bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is useMemo?

Mid
  1. A.a hook that manages state via a reducer function, suited to complex state transitions
  2. B.a hook that memoizes an expensive computed value between renders unless its dependencies change
  3. C.a hook that reads the current value of a React context without prop drilling
  4. D.a hook that memoizes a function's identity between renders unless its dependencies change

Answer + AI explanation with Pro

2. Which term means: "a hook that memoizes an expensive computed value between renders unless its dependencies change"?

Mid
  1. A.useRef
  2. B.useContext
  3. C.useMemo
  4. D.useReducer

Answer + AI explanation with Pro

3. Which statement is correct?

Mid
  1. A.useMemo — a hook that memoizes a function's identity between renders unless its dependencies change
  2. B.useMemo — a hook that memoizes an expensive computed value between renders unless its dependencies change
  3. C.useMemo — a hook that manages state via a reducer function, suited to complex state transitions
  4. D.useMemo — a function named with a 'use' prefix that composes built-in hooks to share stateful logic

Answer + AI explanation with Pro

4. What is useCallback?

Mid
  1. A.a hook that memoizes an expensive computed value between renders unless its dependencies change
  2. B.a hook that memoizes a function's identity between renders unless its dependencies change
  3. C.a hook returning a mutable object whose .current persists across renders without causing re-renders
  4. D.a hook that manages state via a reducer function, suited to complex state transitions

Answer + AI explanation with Pro

5. Which term means: "a hook that memoizes a function's identity between renders unless its dependencies change"?

Mid
  1. A.Custom hook
  2. B.useReducer
  3. C.useRef
  4. D.useCallback

Answer + AI explanation with Pro

6. Which statement is correct?

Mid
  1. A.useCallback — a hook returning a mutable object whose .current persists across renders without causing re-renders
  2. B.useCallback — a hook that manages state via a reducer function, suited to complex state transitions
  3. C.useCallback — a hook that reads the current value of a React context without prop drilling
  4. D.useCallback — a hook that memoizes a function's identity between renders unless its dependencies change

Answer + AI explanation with Pro

7. What is useRef?

Mid
  1. A.a function named with a 'use' prefix that composes built-in hooks to share stateful logic
  2. B.a hook returning a mutable object whose .current persists across renders without causing re-renders
  3. C.a hook that reads the current value of a React context without prop drilling
  4. D.a hook that memoizes an expensive computed value between renders unless its dependencies change

Answer + AI explanation with Pro

8. Which term means: "a hook returning a mutable object whose .current persists across renders without causing re-renders"?

Mid
  1. A.useContext
  2. B.useReducer
  3. C.useRef
  4. D.useCallback

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. A.useRef — a hook returning a mutable object whose .current persists across renders without causing re-renders
  2. B.useRef — a hook that reads the current value of a React context without prop drilling
  3. C.useRef — a function named with a 'use' prefix that composes built-in hooks to share stateful logic
  4. D.useRef — a hook that manages state via a reducer function, suited to complex state transitions

Answer + AI explanation with Pro

10. What is useContext?

Mid
  1. A.a hook returning a mutable object whose .current persists across renders without causing re-renders
  2. B.a hook that memoizes an expensive computed value between renders unless its dependencies change
  3. C.a hook that manages state via a reducer function, suited to complex state transitions
  4. D.a hook that reads the current value of a React context without prop drilling

Answer + AI explanation with Pro

11. Which term means: "a hook that reads the current value of a React context without prop drilling"?

Mid
  1. A.Custom hook
  2. B.useMemo
  3. C.useContext
  4. D.useReducer

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.useContext — a hook returning a mutable object whose .current persists across renders without causing re-renders
  2. B.useContext — a hook that manages state via a reducer function, suited to complex state transitions
  3. C.useContext — a function named with a 'use' prefix that composes built-in hooks to share stateful logic
  4. D.useContext — a hook that reads the current value of a React context without prop drilling

Answer + AI explanation with Pro

13. What is useReducer?

Mid
  1. A.a hook returning a mutable object whose .current persists across renders without causing re-renders
  2. B.a hook that memoizes an expensive computed value between renders unless its dependencies change
  3. C.a hook that manages state via a reducer function, suited to complex state transitions
  4. D.a function named with a 'use' prefix that composes built-in hooks to share stateful logic

Answer + AI explanation with Pro

14. Which term means: "a hook that manages state via a reducer function, suited to complex state transitions"?

Mid
  1. A.Custom hook
  2. B.useContext
  3. C.useCallback
  4. D.useReducer

Answer + AI explanation with Pro

15. Which statement is correct?

Mid
  1. A.useReducer — a function named with a 'use' prefix that composes built-in hooks to share stateful logic
  2. B.useReducer — a hook that manages state via a reducer function, suited to complex state transitions
  3. C.useReducer — a hook that reads the current value of a React context without prop drilling
  4. D.useReducer — a hook that memoizes an expensive computed value between renders unless its dependencies change

Answer + AI explanation with Pro

16. What is Custom hook?

Mid
  1. A.a hook that reads the current value of a React context without prop drilling
  2. B.a hook that manages state via a reducer function, suited to complex state transitions
  3. C.a hook that memoizes an expensive computed value between renders unless its dependencies change
  4. D.a function named with a 'use' prefix that composes built-in hooks to share stateful logic

Answer + AI explanation with Pro

17. Which term means: "a function named with a 'use' prefix that composes built-in hooks to share stateful logic"?

Mid
  1. A.useRef
  2. B.useMemo
  3. C.useContext
  4. D.Custom hook

Answer + AI explanation with Pro

18. Which statement is correct?

Mid
  1. A.Custom hook — a hook that manages state via a reducer function, suited to complex state transitions
  2. B.Custom hook — a function named with a 'use' prefix that composes built-in hooks to share stateful logic
  3. C.Custom hook — a hook that memoizes an expensive computed value between renders unless its dependencies change
  4. D.Custom hook — a hook that reads the current value of a React context without prop drilling

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Memo, Ref & Context Hooks question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers