State & Data Flow interview questions

18 real State & Data Flow questions from the React bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is Unidirectional data flow?

Mid
  1. A.a bug where a callback or effect captures an outdated value due to a missing dependency
  2. B.state computed from props or other state during render rather than stored separately
  3. C.data flows down through props while events flow up through callbacks
  4. D.a way to share values across the component tree without passing props at every level
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Mid
  1. A.Unidirectional data flow — state computed from props or other state during render rather than stored separately
  2. B.Unidirectional data flow — a bug where a callback or effect captures an outdated value due to a missing dependency
  3. C.Unidirectional data flow — data flows down through props while events flow up through callbacks
  4. 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
  1. A.state computed from props or other state during render rather than stored separately
  2. B.passing props through many intermediate components that don't themselves use them
  3. C.data flows down through props while events flow up through callbacks
  4. D.a way to share values across the component tree without passing props at every level
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Mid
  1. A.Prop drilling — data flows down through props while events flow up through callbacks
  2. B.Prop drilling — a way to share values across the component tree without passing props at every level
  3. C.Prop drilling — a bug where a callback or effect captures an outdated value due to a missing dependency
  4. 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
  1. A.passing props through many intermediate components that don't themselves use them
  2. B.state computed from props or other state during render rather than stored separately
  3. C.data flows down through props while events flow up through callbacks
  4. D.a way to share values across the component tree without passing props at every level
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.Context API — React grouping multiple state updates within an event into a single re-render
  2. B.Context API — state computed from props or other state during render rather than stored separately
  3. C.Context API — a way to share values across the component tree without passing props at every level
  4. 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
  1. A.React grouping multiple state updates within an event into a single re-render
  2. B.data flows down through props while events flow up through callbacks
  3. C.state computed from props or other state during render rather than stored separately
  4. D.passing props through many intermediate components that don't themselves use them
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Senior
  1. A.Derived state — data flows down through props while events flow up through callbacks
  2. B.Derived state — passing props through many intermediate components that don't themselves use them
  3. C.Derived state — a way to share values across the component tree without passing props at every level
  4. 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
  1. A.data flows down through props while events flow up through callbacks
  2. B.React grouping multiple state updates within an event into a single re-render
  3. C.state computed from props or other state during render rather than stored separately
  4. D.a way to share values across the component tree without passing props at every level
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Senior
  1. A.Update batching — a bug where a callback or effect captures an outdated value due to a missing dependency
  2. B.Update batching — passing props through many intermediate components that don't themselves use them
  3. C.Update batching — React grouping multiple state updates within an event into a single re-render
  4. 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
  1. A.passing props through many intermediate components that don't themselves use them
  2. B.React grouping multiple state updates within an event into a single re-render
  3. C.data flows down through props while events flow up through callbacks
  4. D.a bug where a callback or effect captures an outdated value due to a missing dependency
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Senior
  1. A.Stale closure — state computed from props or other state during render rather than stored separately
  2. B.Stale closure — a bug where a callback or effect captures an outdated value due to a missing dependency
  3. C.Stale closure — React grouping multiple state updates within an event into a single re-render
  4. D.Stale closure — passing props through many intermediate components that don't themselves use them
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice State & Data Flow free