Understanding Context API with a Use Case
Introduction:
Consider an example of e-commerce website with a page containing a list of products and their details such as product description, price, add to cart option, etc. Using the context API on click of add to cart button the items must be ad...
learnings.hashnode.dev2 min read