Talk in English - UK at jsday 2019
Track Name:
Track 2
View Slides: https://noti.st/cedmax/Ghgrfx/react-refactoring-off-the-hook-s
Checkout the code: https://github.com/cedmax/colours/tree/refactoring-talk/
Short URL: https://joind.in/talk/0497a
(QR-Code (opens in new window))
React Hooks are going to change the way we write React components and apps. Let's explore together a real world refactoring of an app with hooks, introducing the concept and exploring how the mental model of components has to evolve breaking the dichotomy of stateful class vs stateless "functional" components. We are going to deep dive in the code of the app, a quite busy stateful component, looking at how we could use hooks to refactor it.
Comments
Comments are closed.
Consider me hooked! Great talk from a smart, friendly, and funny speaker.
#pearprogrammerlife
Useful, and very well done!
Thanks for having me!
Slidedeck: https://noti.st/cedmax/Ghgrfx/react-refactoring-off-the-hook-s
Repo: https://github.com/cedmax/colours/tree/refactoring-talk/
Covered all hooks types, supported by well structured slide and example of pre/post hooks! :) good start point for migrating, if needed, statefull component to hook.
Even though I am not experienced with React and I couldn't completely catch all the point highlighted during the presentation, I must say that it was a super clear and brilliant one.
Great speaker.