JSitter / react-hooks-context-example

This repo demonstrates the use of React Context.

Home Page:https://jaytria.com/2019/10/24/using-context-in-react/

Repository from Github https://github.comJSitter/react-hooks-context-exampleRepository from Github https://github.comJSitter/react-hooks-context-example

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.

https://jaytria.com/2019/10/24/using-context-in-react/


Languages

Language:JavaScript 74.3%Language:HTML 16.6%Language:CSS 9.1%