Skip to content

hosseinAMD/context-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was bootstrapped with Create React App. This is a playground project where you can see and use different ways of using context in your application.

How Ro Run

1. npm i

Install all dependencies of project

2. npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

Versions To Clone

Version 1.0.0

Contexts implemented in class-based components. You can see basic rules of using React Context in your application in classes.

Version 2.0.0

Contexts implemented in functional components by using Hooks. You can see basic rules of using React Context in your application in functional components by Hooks.

Version 3.0.0

We go further and use Reducers and localStorage in our application to make it more professional! If you don't know context's basics DO NOT USE THIS VERSION.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors