Skip to content

bgirten/clever-React-Context-tricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clever React Context experiments Part 1

This experiment uses React 16.6, TypeScript 3+, and the new Context API. The purpose of this experiment is to use the new Context API to manage state changes without Redux or "prop drilling".

This is a barebones experiment that includes an HTTP (GET) request to display data without using Axios or other ajax library.

React v16.3+ Context API Traditional "Prop Drilling"
Source: JavascriptPlayground Source: JavascriptPlayground

How to Install

Clone the repo

git clone https://github.com/bgirten/clever-React-Context-tricks.git

Install the dependencies

npm install

About

new React Context experimments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published