1. What is Unidirectional data flow ? Mid A. a bug where a callback or effect captures an outdated value due to a missing dependency B. state computed from props or other state during render rather than stored separately C. data flows down through props while events flow up through callbacks D. a way to share values across the component tree without passing props at every level Reveal the answer + AI explanation — free account
2. Which term means: "data flows down through props while events flow up through callbacks"? Mid A. Unidirectional data flow B. Prop drilling C. Stale closure D. Update batching Reveal the answer + AI explanation — free account
3. Which statement is correct? Mid A. Unidirectional data flow — state computed from props or other state during render rather than stored separately B. Unidirectional data flow — a bug where a callback or effect captures an outdated value due to a missing dependency C. Unidirectional data flow — data flows down through props while events flow up through callbacks D. Unidirectional data flow — passing props through many intermediate components that don't themselves use them Reveal the answer + AI explanation — free account
4. What is Prop drilling ? Mid A. state computed from props or other state during render rather than stored separately B. passing props through many intermediate components that don't themselves use them C. data flows down through props while events flow up through callbacks D. a way to share values across the component tree without passing props at every level Reveal the answer + AI explanation — free account
5. Which term means: "passing props through many intermediate components that don't themselves use them"? Mid A. Update batching B. Context API C. Prop drilling D. Derived state Reveal the answer + AI explanation — free account
6. Which statement is correct? Mid A. Prop drilling — data flows down through props while events flow up through callbacks B. Prop drilling — a way to share values across the component tree without passing props at every level C. Prop drilling — a bug where a callback or effect captures an outdated value due to a missing dependency D. Prop drilling — passing props through many intermediate components that don't themselves use them Reveal the answer + AI explanation — free account
7. What is Context API ? Mid A. passing props through many intermediate components that don't themselves use them B. state computed from props or other state during render rather than stored separately C. data flows down through props while events flow up through callbacks D. a way to share values across the component tree without passing props at every level Reveal the answer + AI explanation — free account
8. Which term means: "a way to share values across the component tree without passing props at every level"? Mid A. Stale closure B. Prop drilling C. Context API D. Derived state Reveal the answer + AI explanation — free account
9. Which statement is correct? Mid A. Context API — React grouping multiple state updates within an event into a single re-render B. Context API — state computed from props or other state during render rather than stored separately C. Context API — a way to share values across the component tree without passing props at every level D. Context API — a bug where a callback or effect captures an outdated value due to a missing dependency Reveal the answer + AI explanation — free account
10. What is Derived state ? Senior A. React grouping multiple state updates within an event into a single re-render B. data flows down through props while events flow up through callbacks C. state computed from props or other state during render rather than stored separately D. passing props through many intermediate components that don't themselves use them Reveal the answer + AI explanation — free account
11. Which term means: "state computed from props or other state during render rather than stored separately"? Senior A. Update batching B. Derived state C. Stale closure D. Context API Reveal the answer + AI explanation — free account
12. Which statement is correct? Senior A. Derived state — data flows down through props while events flow up through callbacks B. Derived state — passing props through many intermediate components that don't themselves use them C. Derived state — a way to share values across the component tree without passing props at every level D. Derived state — state computed from props or other state during render rather than stored separately Reveal the answer + AI explanation — free account
13. What is Update batching ? Senior A. data flows down through props while events flow up through callbacks B. React grouping multiple state updates within an event into a single re-render C. state computed from props or other state during render rather than stored separately D. a way to share values across the component tree without passing props at every level Reveal the answer + AI explanation — free account
14. Which term means: "React grouping multiple state updates within an event into a single re-render"? Senior A. Update batching B. Context API C. Prop drilling D. Derived state Reveal the answer + AI explanation — free account
15. Which statement is correct? Senior A. Update batching — a bug where a callback or effect captures an outdated value due to a missing dependency B. Update batching — passing props through many intermediate components that don't themselves use them C. Update batching — React grouping multiple state updates within an event into a single re-render D. Update batching — state computed from props or other state during render rather than stored separately Reveal the answer + AI explanation — free account
16. What is Stale closure ? Senior A. passing props through many intermediate components that don't themselves use them B. React grouping multiple state updates within an event into a single re-render C. data flows down through props while events flow up through callbacks D. a bug where a callback or effect captures an outdated value due to a missing dependency Reveal the answer + AI explanation — free account
17. Which term means: "a bug where a callback or effect captures an outdated value due to a missing dependency"? Senior A. Stale closure B. Context API C. Derived state D. Prop drilling Reveal the answer + AI explanation — free account
18. Which statement is correct? Senior A. Stale closure — state computed from props or other state during render rather than stored separately B. Stale closure — a bug where a callback or effect captures an outdated value due to a missing dependency C. Stale closure — React grouping multiple state updates within an event into a single re-render D. Stale closure — passing props through many intermediate components that don't themselves use them Reveal the answer + AI explanation — free account