Skip to content

JSitter/react-hooks-context-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Context Counter Example

This is a simple example for how to use contexts in React.

You can launch the project by first running:

$ yarn install

Followed by:

$ yarn start

Though npm may work using yarn is more reliable.

After the project has finished installing and starting -- it will be located at localhost:3000.

Much of the code in this repo has been auto generated using the handy tool npx create-react-app my-app-name.

About

This repo demonstrates the use of React Context.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published