Open ezzabuzaid opened 3 years ago
From React Documentation
Context provides a way to pass data through the component tree without having to pass props down manually at every level.
props in Angular terms corresponds to Inputs
In other words, context can help you to pass down inputs/props through a components tree without the need to define them at every level/component.
Words 📝 might not be that efficient, a practical example might be.
From React Documentation
props in Angular terms corresponds to Inputs
In other words, context can help you to pass down inputs/props through a components tree without the need to define them at every level/component.
Words 📝 might not be that efficient, a practical example might be.