InterviewHubPRO
Section Overview
Q224

Question 224 of 445

Part 8: Advanced React Patterns, Portals & Performance (152 - 261)

50%
React & Modern Frontend (445 Qs)•Part 8: Advanced React Patterns, Portals & Performance (152 - 261)

Describe about data flow in react?

React implements one-way reactive data flow using props which reduce boilerplate and is easier to understand than traditional two-way data binding.

Practical Code Example

text
// Unidirectional Data Flow:
// State flows DOWN from parent to child via props.
// User events flow UP from child to parent via callbacks.