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.

Gant Laborde at 14:17 on 9 May 2019

Consider me hooked! Great talk from a smart, friendly, and funny speaker.

#pearprogrammerlife

M_a_s_s_i at 10:35 on 10 May 2019

Useful, and very well done!

Marco Cedaro (Speaker) at 11:54 on 10 May 2019

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/

Stefano at 01:32 on 11 May 2019

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.

John Doe at 17:37 on 15 May 2019

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.