"Getting Closure on React Hooks" presented by Shawn "Swyx" Wang at JSConf.Asia 2019
The design of React Hooks requires a good understanding of closures in JavaScript. In this 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 and the Rules of Hooks out of this incredible mental model!
Originally from Singapore, swyx is an Infinite Builder working on Developer Experience at Netlify. In his free time he helps people Learn in Public at Egghead.io and /r/reactjs.
JSConf.Asia - LASALLE College of the Arts, Singapore - 15 June 2019
Source: https://2019.jsconf.asia/
License: For reuse of this video under a more permissive license please get in touch with us. The speakers retain the copyright for their performances.
Intro animation "something something prisms" by Martin Schuhfuss
https://codepen.io/usefulthink/pen/Wo...
Intro music "Know" by Matt McKegg
/ know
Смотрите видео Can Swyx recreate React Hooks and useState in under 30 min? - JSConf.Asia онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь JSConf 01 Июль 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 76,65 раз и оно понравилось lik людям.