Skip to main content
InterviewHubPRO
Section Overview
Q224

Question 224 of 407

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

55%
React Core & Hooks (407 Qs)•Part 8: Advanced React Patterns, Portals & Performance (152 - 261)

Describe about data flow in react?

mid LevelCode ExampleFormsPerformance

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.