Using Context in React

Purchase a Subscription!

Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, access offline videos and skills assessments, and use the discussion forums, log in or purchase a subscription.


Instructor

Eric Greene

Description

In a typical React application, data is passed down the component tree via props. Context provides a way to share values between components without having to explicitly pass a prop through every level of the tree and is ideal for certain types of data such as UI themes. Learn about Context and the APIs that drive it in the latest installment in our Mastering React series.

Table of Contents

{{toc.Position}} {{toc.Text}}

Related Links

  • {{link.LinkText}} (requires a paid subscription)

Series

This course is part of the following series: