Загрузка видео...

Не удалось загрузить видео

На главную

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

214,951 просмотров • 2 лет назад •via X (Twitter)

Комментарии: 10

Фото профиля George Moller
George Moller2 лет назад

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
George Moller2 лет назад

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
Dev Mamba2 лет назад

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
George Moller2 лет назад

Thanks! glad you found it useful!

Фото профиля happydecoder
happydecoder2 лет назад

I do this everytime

Фото профиля George Moller
George Moller2 лет назад

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

Фото профиля Pavel Romanov
Pavel Romanov2 лет назад

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
George Moller2 лет назад

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
Sreehari jayaraj2 лет назад

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

Фото профиля George Moller
George Moller2 лет назад

Agree!

Похожие видео