Unidirectional and bidirectional data flow
Unidirectional (one-way) data flow
You pass data down from parent to child component
You can't update parent's state from a child
Instead, you handle events dispatched by a child to update the state
Parent -> Child
Bidirectional (two-way) data fl...
blog.macieksitkowski.com1 min read