Next.js 13 Crash Course Tutorial #6 - Fetching & Revalidating Data

preview_player
Показать описание

➡️ Use promo code NEXTNINJA50 for 50% off!

📂🥷🏼 Access the course files on GitHub:

📂🥷🏼 CSS File from course files:

💻🥷🏼 React Tutorial:

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

Thank you - looking forward to the next part

kecoje
Автор

I'm grateful for your content. Keep inspiring us!

acodersjourney
Автор

An excellent "companion" to the "official" next.js tutorial.

iancarr
Автор

Im very happy I have finally found a really good youtuber who does the tutorial videos for the beginners like me. Please keep posting. I have subscribed

jkl
Автор

Thank brother your explanation is very good

programmingwithnit
Автор

I received the "json-server : The term 'json-server' is not recognized as the name of a cmdlet,
function, script file, or operable program." error, but I've managed to solve it.

So if anyone runs into this issue in the future, just add "npx" in front of "json-server" in the terminal

velmar.wolfdream
Автор

I just bought the complete course! Is there a way to get the transcripts for the videos on the course site (I use transcripts a lot on YouTube when studying, e.g. for searching, and it also makes it easier for me to follow along since English is not my native language)? Thank you very much in advance!!

everyday_mary
Автор

Great video!
At 11:30 you are explaining how to benefit from the extension of the fetch API.
How can I benefit from it too if I use a function that is stored in another « services » folder?

z_
Автор

If you're fetching data as responses from the openAI API and want to keep an open request from the frontend (nextjs) to the backend (django), is it possible to do it like in broadcasting or streaming? Do you know what is the most common and efficient case? Thanks and cheers!

rodrigopolanco
Автор

in some cases (fetch) failed when i'm using in SSR , but in client side rendering. it works fine, i'm fetching some images from api

vwlppxm
Автор

could you please guide me which one is better to ues, functional compnents or arrow components in react

cmlra
Автор

Hello, At first. Your larning seasons are great, I try to reproduce your example in TypeScript for improving my self learning. In the chapter 6 I have a problem. I prefer to use the arrow function syntax while coding. When I write the TicketList with arrow functions, there were no tickets fetched by the server. It will also not displayed the tickets.length === 0 case. Write the code like described in the course, it works. Is there a difference between the two syntax in Next JS (exept the this keyword)? My main seen difference in the arrow-code is the export default at the end of the TicketList.tsx. Thanks a lot for your help :)

jqvgmoz
Автор

Is there a way to revalidate with axios?

ZeyadMohamed-xsew
Автор

What font are you using bro in vscode could you share it ?

raminjamal
Автор

That is fine and it works locally but I have an issue using a dynamic baseUrl when building for some reason.

rnavedojr
Автор

What extension do you use to get Tailwind autocomplete?

VilliamLundin-bwmg
Автор

Add this to "scripts" in your package.json
"server": "json-server --watch --port 4000 ./_data/db.json",

and then you can run `npm run server` to make it easier to restart the json-server without having to remember the command

justydev
Автор

Whats the best way to import the json data from a file using node?

AntNZ
Автор

lovely content ^_^, so revalidate cashed in server right ? not user browser :)

khalifaomani
Автор

revalidate is not working for me, it fetches new data everytime

ashonshakya