@jimeno0
Carlos P. Jimeno
Carlos P. Jimeno
@jimeno0
@Jimeno0
🤔
@Jimeno0
@Jimeno0
Funcions "hook into" state & lifecycle from function components
@Jimeno0
@Jimeno0
@Jimeno0
💥
@Jimeno0
@Jimeno0
Scaffolding
Complex logic mixed in components
Reusable code
Class components misunderstandings
❌
♻
🍱
🤓
@Jimeno0
=> Wrapper hell
HOC/ render props
@Jimeno0
Declare in the top level
❌
Dont use in Class Components
❌
@Jimeno0
@Jimeno0
(With clean code)
useState()
@Jimeno0
(Demo time)
@Jimeno0
useEffect()
@Jimeno0
(Demo time)
@Jimeno0
useContext()
@Jimeno0
(Demo time)
@Jimeno0
useReducer() + useContext()
💥
@Jimeno0
@Jimeno0
Do once, use forever
@Jimeno0
@Jimeno0
useArray()
@Jimeno0
@Jimeno0
🎉
@Jimeno0
@Jimeno0