Loading video...

Video Failed to Load

Go Home

❌ Avoid mixing business logic with your React components. ✅ Instead create abstraction layers that communicate with them.

214,959 views • 3 years ago •via X (Twitter)

10 Comments

George Moller's profile picture
George Moller3 years ago

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 ↓

George Moller's profile picture
George Moller3 years ago

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 ↓

Dev Mamba's profile picture
Dev Mamba3 years ago

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!

George Moller's profile picture
George Moller3 years ago

Thanks! glad you found it useful!

happydecoder's profile picture
happydecoder3 years ago

I do this everytime

George Moller's profile picture
George Moller3 years ago

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

Pavel Romanov's profile picture
Pavel Romanov3 years ago

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

George Moller's profile picture
George Moller3 years ago

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.

Sreehari jayaraj's profile picture
Sreehari jayaraj3 years ago

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

George Moller's profile picture
George Moller3 years ago

Agree!

Related Videos