1. What is useMemo ? Mid A. a hook that manages state via a reducer function, suited to complex state transitions B. a hook that memoizes an expensive computed value between renders unless its dependencies change C. a hook that reads the current value of a React context without prop drilling D. a hook that memoizes a function's identity between renders unless its dependencies change Reveal the answer + AI explanation — free account
2. Which term means: "a hook that memoizes an expensive computed value between renders unless its dependencies change"? Mid A. useRef B. useContext C. useMemo D. useReducer Reveal the answer + AI explanation — free account
3. Which statement is correct? Mid A. useMemo — a hook that memoizes a function's identity between renders unless its dependencies change B. useMemo — a hook that memoizes an expensive computed value between renders unless its dependencies change C. useMemo — a hook that manages state via a reducer function, suited to complex state transitions D. useMemo — a function named with a 'use' prefix that composes built-in hooks to share stateful logic Reveal the answer + AI explanation — free account
4. What is useCallback ? Mid A. a hook that memoizes an expensive computed value between renders unless its dependencies change B. a hook that memoizes a function's identity between renders unless its dependencies change C. a hook returning a mutable object whose .current persists across renders without causing re-renders D. a hook that manages state via a reducer function, suited to complex state transitions Reveal the answer + AI explanation — free account
5. Which term means: "a hook that memoizes a function's identity between renders unless its dependencies change"? Mid A. Custom hook B. useReducer C. useRef D. useCallback Reveal the answer + AI explanation — free account
6. Which statement is correct? Mid A. useCallback — a hook returning a mutable object whose .current persists across renders without causing re-renders B. useCallback — a hook that manages state via a reducer function, suited to complex state transitions C. useCallback — a hook that reads the current value of a React context without prop drilling D. useCallback — a hook that memoizes a function's identity between renders unless its dependencies change Reveal the answer + AI explanation — free account
7. What is useRef ? Mid A. a function named with a 'use' prefix that composes built-in hooks to share stateful logic B. a hook returning a mutable object whose .current persists across renders without causing re-renders C. a hook that reads the current value of a React context without prop drilling D. a hook that memoizes an expensive computed value between renders unless its dependencies change Reveal the answer + AI explanation — free account
8. Which term means: "a hook returning a mutable object whose .current persists across renders without causing re-renders"? Mid A. useContext B. useReducer C. useRef D. useCallback Reveal the answer + AI explanation — free account
9. Which statement is correct? Mid A. useRef — a hook returning a mutable object whose .current persists across renders without causing re-renders B. useRef — a hook that reads the current value of a React context without prop drilling C. useRef — a function named with a 'use' prefix that composes built-in hooks to share stateful logic D. useRef — a hook that manages state via a reducer function, suited to complex state transitions Reveal the answer + AI explanation — free account
10. What is useContext ? Mid A. a hook returning a mutable object whose .current persists across renders without causing re-renders B. a hook that memoizes an expensive computed value between renders unless its dependencies change C. a hook that manages state via a reducer function, suited to complex state transitions D. a hook that reads the current value of a React context without prop drilling Reveal the answer + AI explanation — free account
11. Which term means: "a hook that reads the current value of a React context without prop drilling"? Mid A. Custom hook B. useMemo C. useContext D. useReducer Reveal the answer + AI explanation — free account
12. Which statement is correct? Mid A. useContext — a hook returning a mutable object whose .current persists across renders without causing re-renders B. useContext — a hook that manages state via a reducer function, suited to complex state transitions C. useContext — a function named with a 'use' prefix that composes built-in hooks to share stateful logic D. useContext — a hook that reads the current value of a React context without prop drilling Reveal the answer + AI explanation — free account
13. What is useReducer ? Mid A. a hook returning a mutable object whose .current persists across renders without causing re-renders B. a hook that memoizes an expensive computed value between renders unless its dependencies change C. a hook that manages state via a reducer function, suited to complex state transitions D. a function named with a 'use' prefix that composes built-in hooks to share stateful logic Reveal the answer + AI explanation — free account
14. Which term means: "a hook that manages state via a reducer function, suited to complex state transitions"? Mid A. Custom hook B. useContext C. useCallback D. useReducer Reveal the answer + AI explanation — free account
15. Which statement is correct? Mid A. useReducer — a function named with a 'use' prefix that composes built-in hooks to share stateful logic B. useReducer — a hook that manages state via a reducer function, suited to complex state transitions C. useReducer — a hook that reads the current value of a React context without prop drilling D. useReducer — a hook that memoizes an expensive computed value between renders unless its dependencies change Reveal the answer + AI explanation — free account
16. What is Custom hook ? Mid A. a hook that reads the current value of a React context without prop drilling B. a hook that manages state via a reducer function, suited to complex state transitions C. a hook that memoizes an expensive computed value between renders unless its dependencies change D. a function named with a 'use' prefix that composes built-in hooks to share stateful logic Reveal the answer + AI explanation — free account
17. Which term means: "a function named with a 'use' prefix that composes built-in hooks to share stateful logic"? Mid A. useRef B. useMemo C. useContext D. Custom hook Reveal the answer + AI explanation — free account
18. Which statement is correct? Mid A. Custom hook — a hook that manages state via a reducer function, suited to complex state transitions B. Custom hook — a function named with a 'use' prefix that composes built-in hooks to share stateful logic C. Custom hook — a hook that memoizes an expensive computed value between renders unless its dependencies change D. Custom hook — a hook that reads the current value of a React context without prop drilling Reveal the answer + AI explanation — free account