Video wird geladen...
Video konnte nicht geladen werden
❌ Avoid mixing business logic with your React components. ✅ Instead create abstraction layers that communicate with them.
214,951 Aufrufe • vor 2 Jahren •via X (Twitter)
10 Kommentare

I've been working professionally with React for more than 8 years and I compiled all my knowledge into 100+ infographics just like this one. Check them out ↓

I've been working professionally with React for more than 8 years and I compiled all my knowledge into 100+ infographics just like this one. Check them out ↓

That's a very nice example of using custom hooks! Custom hooks are a powerful way to encapsulate logic and reuse it across different components, making our code more efficient and easier to maintain. Well done!

Thanks! glad you found it useful!

I do this everytime

Glad to read this, it will make changes in the future feel like a breeze 😎

I had a tough time with architectural topics when I was a new dev. Appreciate the content. It would be great to go into more depth so we can understand the reasoning behind these abstractions

Makes sense Pavel! will try to make more content around this. The main reasoning behind this abstractions is that loosely coupled modules/systems reduce the effort needed to make changes.

this is one of the best thing you should do while building react apps

Agree!
