React’s ⚛️ new Context API

It’s way more ergonomic, it’s no longer “experimental,” and it’s now a first-class API! OH, AND IT USES A RENDER PROP! NOTE: This is a cross-post from my newsletter. I publish each email two weeks after it’s sent….

Source: https://blog.kentcdodds.com/reacts-%EF%B8%8F-new-context-api-70c9fe01596b

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.