Talk in English - UK at jsday 2019
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.