Context-with-Real-Usecases

Intermediate
  • Context API
GitHubBlog
context-with-real-usecases is a recipe app that lists the recipes by cuisine type. Based on the selected cuisine app shows the list of recipes, the selected cusine and the cusine fact.

React Context

Sometime, we need to use the state in more than one component. Hence, we have to pass it down through
<Parent/> to <Child/> and so on. However sometime we may need to pass it down multiple level down the tree.

and sometime, there is not even a relationship between two components. Thats when react context become handy.

Please Select the cuisine