Запитання 11
Explain one-way data flow in React and its benefits.
Варіанти відповідей
Data flows from parent to child components via props; children cannot mutate props but invoke callbacks to change parent state, resulting in predictable and easier-to-debug updates.
Data flows bidirectionally allowing children and parents to mutate data independently.
Data flows from child components to parent components using global events only.
One-way data flow refers to synchronous data fetching in React applications.