SWR/React-Query vs Fetch + UseEffect

preview_player
Показать описание
Why you should use Vercel's SWR instead of fetch + useEffect in your React app.

📣 Follow Coding in Flow on social media:
Рекомендации по теме
Комментарии
Автор

Please do a tutorial of the project that you are using in this video.

trantoan
Автор

I dont see any issue with requesting when your server is fast
Also what I dont like about these caching libs is that it shows cached result, then makes a request, if there's new data, it updates it right away and thus your content just jumps

grenadier
Автор

could you make tutorial on doing caching but without any of these libraries? cause i'm learning using this library, but still dont get how to cache a data myself, i cant find any right tutorial on caching without third-party library

ban_droid
Автор

dude how do you do android and react same time. Bcz many times due to muscle memory I write javascript syntax instead of kotlin yes I identify and fix that immediately but how to get rid of this 🤣

rohithgoud