presentational

React's new Context API and Actions

Photo: unsplash-logo Daniel Watson Edit: 4/2/2018 - It was pointed out to me that the example in this post had a performance issue, where was called on Consumers unnecessarily. I’ve updated the article, examples, and the CodeSandbox to rectify this. The new React Context…