Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Getting Closure on React Hooks

JSConf via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the intricacies of React Hooks and closures in JavaScript through this JSConf.Asia conference talk. Dive into a live coding session where Shawn "Swyx" Wang recreates React Hooks and useState in under 30 minutes. Learn about the design principles behind React Hooks, gain a deeper understanding of closures, and discover how to build a Hooks clone in just 29 lines of readable JavaScript. Uncover the concepts behind Custom Hooks and the Rules of Hooks while following along with the step-by-step implementation. Gain insights into stateful functions, the React module, components, and the work loop. Perfect for developers looking to enhance their React knowledge and JavaScript skills.

Syllabus

Introduction
Rene Magritte
What are closures
Stateful functions
State hook
React module
Component
Hook rules
Effects hook
Implementation
Use Effect
Live Coding
Testing
Work Loop

Taught by

JSConf

Reviews

Start your review of Getting Closure on React Hooks

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.