Skip to content

ashx3s/context-api-tutorial-starter

Repository files navigation

README

A practice repo for working with the Context API

  • Objective: Practice the fundamentals of the context syntax
  • Tasks:
    • create your context in the appropriate folder
    • set up the provider and wrap it around the layout
    • crease a useContext variable to access from child components
    • access data from the context on a child component
    • create a function that can toggle the user login status with the context state
    • implement the toggle with a button

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published