Skip to main content
CSS-Tricks
  • Articles
  • Videos
  • Almanac
  • Newsletter
  • Guides
  • DigitalOcean
  • DO Community
Search

Articles Tagged
react context

5 Articles
{
,

}
Direct link to the article Managing State in React using Unstated-Next
react react context react hooks state management

Managing State in React using Unstated-Next

In a previous post, we saw how to manage state using Unstated. As you might recall, Unstated uses React’s built-in setState to allow you create components that can consume state by subscribing to a provider — like the …

Avatar of Kingsley Silas
Kingsley Silas on Jun 17, 2019 (Updated on Jun 18, 2019)
Direct link to the article React 16.6.0 Goodies
beginning react error boundary react context react props

React 16.6.0 Goodies

React 16.6.0 was released October 2018 and with it came goodies that spice up the way we can develop with React. We’re going to cover what I consider the best of those new goodies with examples of how we can …

Avatar of Kingsley Silas
Kingsley Silas on Jan 23, 2019
Direct link to the article Compound Components in React Using the Context API
beginning react components react context

Compound Components in React Using the Context API

Compound components in React allow you to create components with some form of connected state that’s managed amongst themselves. A good example is the Form component in Semantic UI React.

To see how we can implement compound components in …

Avatar of Kingsley Silas
Kingsley Silas on Dec 6, 2018
Direct link to the article Finite State Machines with React
react react context state machines xstate

Finite State Machines with React

As JavaScript applications on the web have grown more complex, so too has the complexity of dealing with state in those applications — state being the aggregate of all the data that an application needs to perform its function. Over …

Avatar of Jon Bellah
Jon Bellah on Jul 24, 2018 (Updated on Jan 2, 2020)
Direct link to the article Digging Into React Context
react react context react props

Digging Into React Context

You may have wondered lately what all the buzz is about Context and what it might mean for you and your React sites. Before Context, when the management of state gets complicated beyond the functionality of setState, you likely …

Avatar of Kingsley Silas
Kingsley Silas on Jun 11, 2018

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • DigitalOcean
  • DigitalOcean Community
  • About DigitalOcean
  • Legal
  • Free Credit Offer
CSS-Tricks
  • Email
  • Guest Writing
  • Book
  • Advertising
Follow
  • Twitter
  • Instagram
  • YouTube
  • CodePen
  • iTunes
  • RSS
Back to Top