Save for later

React Context API

Heads up! This course may be archived and/or unavailable.

Learn React,

In the typical React data flow, components communicate with each other via props. A parent passes props down to child components. Sometimes the intermediary components get props passed to them with the sole purpose of passing that data down one (or several) more levels deep. This cascade of props is often referred to as "prop drilling". The React Context API provides a way to pass data to components without having to pass props manually at every single level.

Segments in this Workshop
  • What is the Context API?
  • How Context Works
  • Create Context
  • Provide and Consume State
  • The Provider and Consumer Solution
  • Provide and Consume Actions
  • Provide Remaining Actions to Child Components
  • Refactor the Provider
  • Refactor the Consumers
Get Details and Enroll Now

OpenCourser is an affiliate partner of Treehouse and may earn a commission when you buy through our links.

Get a Reminder

Send to:
Rating Not enough ratings
Length 35-minute workshop
Starts On Demand (Start anytime)
Cost $25/month (Access to entire library- free trial available)
From Treehouse
Download Videos Only via web browser
Language English
Subjects Programming
Tags JavaScript

Get a Reminder

Send to:

Similar Courses

Careers

An overview of related careers and their average salaries in the US. Bars indicate income percentile.

Child Mentor $47k

Child Support $52k

Components Rapid Response Engineer $62k

Child Specialist $65k

Project Engineer (Electronic Components) $82k

Buyer / Engine & APU Components $85k

Components Research Engineer $93k

Parts / Components Engineer $104k

Child & Adolescent $141k

Child & Adolescent $141k

Transformer Components Sales Manager $159k

Common Components Product Manager $171k

Write a review

Your opinion matters. Tell us what you think.

Rating Not enough ratings
Length 35-minute workshop
Starts On Demand (Start anytime)
Cost $25/month (Access to entire library- free trial available)
From Treehouse
Download Videos Only via web browser
Language English
Subjects Programming
Tags JavaScript

Similar Courses

Sorted by relevance

Like this course?

Here's what to do next:

  • Save this course for later
  • Get more details from the course provider
  • Enroll in this course
Enroll Now