Getting Closure on Hooks
The design of React Hooks requires a good understanding of closures in JavaScript. In this lightning talk, we’ll reintroduce closures by building a tiny clone of React! This will serve two purposes – to demonstrate the effective use of closures, and to show how you can build a Hooks clone in just 29 lines of readable JS. Finally, we arrive at how you get Custom Hooks for free!
About the speaker:
Swyx is an Infinite Builder working on Developer Experience at Netlify. In his free time he helps …