The 3 levels of React.js developers and how they fetch data. What level are you at? ⭐ Get my full-stack Next.js with Express & TypeScript course: https://codinginflow.com/nextjs ✅ Get my free React Best Practices course: https://www.codinginflow.com/reactbestpractices 💌 Join my newsletter for regular web dev tips: https://codinginflow.com/newsletter 💬 Join our developer community on Discord: https://codinginflow.com/discord 📣 Follow Coding in Flow on social media: Twitter: https://twitter.com/codinginflow Instagram: https://instagram.com/codinginflow TikTok: https://tiktok.com/@codinginflow Facebook: https://facebook.com/codinginflow
ADVERTISEMENT
day 1: literally writing the logic manually day 7: starting to apply best practice day 100: *npm i* everywhere
Some day I'll be able to understand this meme
clean up function in day 7? sounds great!!
Day1 : creating todo manually Day7: chatgpt Day100: chatgpt
day 1: manually handle api call without proper cleanup day 7: manually handle api call with half the cleanup day 100: dont handle api call
You’re forgetting about Suspense and ErrorBoundary
RTK query is goat fo me ❤
Get my FREE React Best Practices course: /reactbestpractices
"web development slop" ahh moment
If you didnt get it, he went from using hooks react provides to using his own custom hook
2 years and still no idea about useQuery😅
summon the best statemanagement tool zustand and combine it with react query
You forgot using suspenseQuery with a prefetch in a Route loader (Tanstack Router or Remix)or on the server (Next js)...this always guarantees the data exists and offloads the loading state to the nearest suspense boundary and error states to an Error boundary
Which react developer starts fetching data on day 1?
and Angular Devs have been on Observables since Day 1 😀
First I used redux. Now use mutate function from react query.
That's Literally me.❤
100 depedencies instaled
Thanks for sharing
Dude I started day 1 with day 100 in this video. Always research the tools and functions in a language and know what to ask the cpu to do before you write it. Be specific