React: Context API (Built-in) : code example
Why we're using Context API and when?
The main reason is toSimplifying Prop Drilling & Sharing Global data
Passing props through many levels of components can become cumbersome and harder to maintain.
Context allows you to share data without manual...
iamthecode.hashnode.dev2 min read