Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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