/react-context-api-tutorial

Following the Context API docs page from react and changing all the code to functional

Primary LanguageJavaScript

React Context API Tutorial

Follow the link for documentation https://reactjs.org/docs/context.html

A small UI that contains 2 sections which have their own context

  1. Updating context via parent component
  2. Updating context via nested component

Built with functional components

Run the app by

npm i

npm start