Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rproenza86/reactjs-context-api
Explored the React context API, which lets you share values across component trees and subtrees.
https://github.com/rproenza86/reactjs-context-api
apis context-api fecth reactjs
Last synced: 12 days ago
JSON representation
Explored the React context API, which lets you share values across component trees and subtrees.
- Host: GitHub
- URL: https://github.com/rproenza86/reactjs-context-api
- Owner: rproenza86
- Created: 2019-07-28T16:32:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-28T16:33:21.000Z (over 5 years ago)
- Last Synced: 2024-11-06T03:48:26.350Z (2 months ago)
- Topics: apis, context-api, fecth, reactjs
- Language: JavaScript
- Size: 141 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# reactjs-context-api
## Overview
React components provide convenient units of self-contained functionality—but wiring them together, especially when data goes to multiple places, can get repetitive.
In this Intermediate training, join Emmanuel Henri as he explores the React context API, which lets you share values across component trees and subtrees. As he steps through the course project, Emmanuel goes over the syntax of context, how to set it up in your projects, and how to update context.
Plus, learn how to consume multiple contexts into your app, as well as what to avoid when working with context.
## Objectives
- Creating a context object
- Implementing the code for updating context
- Updating context from a nested component
- What to avoid when working with context
- How the node tree in React applies to context
- Consuming multiple contexts