You can do a lot of nifty things with React when you think about how you can use functions in JavaScript.
At the moment, I’m learning more about reusable components and composing components together. When I see these patterns, I always think: “Of course, it’s function composition” - but I would never have come up with this pattern on my own.
Luckily, there are great teachers that can help me with that:
- What are Reusable Components in React? by Robin Wieruch
- React Function Component Workshop by chantastic
- Advanced React Component Patterns workshop @ PayPal (Part 1) by Kent C. Dodds