In Defense Of useEffect - React's Most Dangerous Hook

preview_player
Показать описание
useEffect was essential to the success of React hooks. It deserves some crap, but nowhere near as much as we give it. #react #javascript #webdevelopment

Рекомендации по теме
Комментарии
Автор

I never have the feeling of wasting my time on this channel, learning new things every time 👍 Thanks Theo

aeroprojects
Автор

So how would one fetch data on component mount without useEffect and without any third party libraries?

mils
Автор

Just overheard a conversation in my team: "Any opportunity you can take to remove useEffect do it, it just makes everything better"

origanami
Автор

i want to fetch data and not use external library such as react-query and such. how do i do that with pure react?

guygolan
join shbcf.ru