Рет қаралды 5,312
You can achieve similar outcomes in multiple ways. With React, you can perform data fetching in your components in several ways. Knowing "how" to do it is crucial, but knowing "why" to use one approach is essential.
This video teaches you about the React Data Fetching patterns and introduces you to the React 18 Suspense for data fetching. It also takes a deep dive into the Error Boundaries for handling data fetching errors elegantly.
YOU MUST NOT MISS IT.
Let's GO 🚀
Timecodes
0:00 - "Why vs How" in Data Fetching
01:01 - Data Fetching Patterns in React
03:34 - The "Fetch on Render" Pattern with Visual and Code
09:24 - The "Fetch then Render" Pattern with Visual and Code
14:00 - Problem With These Existing Patterns
14:48 - A New Pattern: Data Fetching with React Suspense
26:50 - What are Error Boundaries in React?
33:19 - An Announcement for YOU and Wrap up
The Source Code
- github.com/atapas/youtube/tre...
Other Videos I mentioned
- Pure Function and Side Effects: • What are Pure Function...
- JavaScript Async Await: • JavaScript async/await...
🤝 My Links:
- Blog: blog.greenroots.info/
- Follow on X(Twitter): / tapasadhikary
- Connect on LinkedIn: / tapasadhikary
- Follow My Work on GitHub: github.com/atapas
👋 Like my work? Thank You. You can sponsor me from here:
- Sponsor Me: github.com/sponsors/atapas
- Sponsor my Blog: blog.greenroots.info/sponsor
About Me:
Tapas Adhikary is an Educator at tapaScript, Tech enthusiast, Writer, KZfaqr, and Open Source projects maintainer/contributor. He is a full-stack developer who has vast experience in building SaaS solutions. He is the founder of the ReactPlay platform, which is driven by open-source projects and a fast-growing community.
You can find more about him at tapasadhikary.com.