My fav place to learn to code is Scrimba
Get 20% off a subscription with my link 👇
https://scrimba.com/?via=brettwestwood
#nextjs #nextjs13 #fetchdata
Next.js App router introduced a new, simplified data fetching system built on React and the web platform.
In this video, I will take you through every concept when it comes to fetching data inside of the app router.
We will go over fetching data on the server using server components, fetching dynamic data inside of dynamic route segments, using React Suspense to display loading states, data being deduplicated and much more.
Private 1 on 1 Help 👇
https://calendly.com/dabrettwestwood/...
Join my FREE Discord to talk and network about web development! 👇
/ discord
Data fetching an important topic when it comes to web development and Next.js 13 makes the development process smooth and easy to achieve.
Next.js 13 Docs for data fetching 👇
https://nextjs.org/docs/app/building-...
GitHub Source Code 👇
https://github.com/bwestwood11/data_f...
Here is a link to the article I wrote for on fetching data in Next.js 13 App router 👇
https://www.brettwestwood.dev/posts/N...
Here is a link to the typicode.com 👇
https://jsonplaceholder.typicode.com/
Here is a link to the dog API 👇
https://dog.ceo/dog-api/
Time Stamps
0:00 Intro
0:21 Core Concepts for Data Fetching in Next.js 13
1:59 Set up environment
4:12 Fetching Data on Server from Dog API
10:24 How To Always fetch fresh data
11:48 Cleaning up our files/folder structure
14:04 Server Side Data Fetching of ALL Users
19:23 Fetching Dynamic Data
26:18 Fetching Data in parallel
33:01 Using React Suspense/Loading
39:02 Outro