New! Deliver web projects 10x faster. Get the free enterprise paper

Blog

Exploring the JAMstack, static sites, and the future of web development. Subscribe to our newsletter to make sure you don't miss anything.

All posts

Deep dive: How do React hooks really work?

In this article, we reintroduce closures by building a tiny clone of React Hooks. This will serve two purposes - to demonstrate the effective use of closures in building our React Hooks clone itself, and also to implement a naive mental model of how Hooks work under the hood. Finally, we …

By swyx in Opinions & Insights