TypeScript and React Guide: Added a new context chapter

Stefan Baumgartner

Stefan on Mastodon

More on TypeScript

React’s context API has be slumbering inside for a while. With one of the latest releases, they decide to open this API to everybody. It’s very nice to use if you like render props. If not, there’s always the new hooks API that makes it even easier.

TypeScript works amazingly well with context. You don’t need to provide any type definitions at all. Only in some edge cases.

Check it out

More articles on TypeScript

Stay up to date!

3-4 updates per month, no tracking, spam-free, hand-crafted. Our newsletter gives you links, updates on fettblog.eu, conference talks, coding soundtracks, and much more.