This Next.js function simplifies dynamic rendering

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

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

I ran into this problem a few days ago. I didn't know the solution so I converted my component to a client-side component. Now I know why I was having that behavior where my app was working locally but not in production. Thank you very much.

aaronmineen
Автор

Really good point about this. Someone new coming is deff not going to notice this!

aleksamitic
Автор

Thanks for such great content! Really straight to the point with showing how to check easily what is static rendered and what's not. I really liked it :) keep going on the good content! Cheers!

CaioQuirino
Автор

May I ask how much you work a week? Or maybe you can make a video on time management tips? You seem to put in so much time to side projects, this YT channel, on top of your full time job. Which is great.

eshw
Автор

just solved my prisma issue so fast !!!!
thanks for the new knowledge.

rohitkochikkatfrancis
Автор

I wish you posted this a few days ago haha. I strugged to figure this out. But yes, as you mentioned the Next.js learn module is great ! I picked up a few things myself. Great video as always, thanks for the help !

Leanz
Автор

Thanks for sharing. I had this problem in a small project 😂😂

chisommuorah
Автор

Nice, I will start using this function, thank you!

Pptruenoz
Автор

The title seem so interesting, Thanks Sir!

adarshdhital
Автор

They need to introduce a way to include caching behaviour in dev mode. It's very annoying trying to develop/debug things like ISR and on demand revalidation when everything is forced to be dynamic.

thomaslodge
Автор

"export const revalidate = 0 " will also dynamically render the page as far as I can remember, unless they changed it

MsGrudy
Автор

Fun fact. Refreshing static built page returns the same number always, but accessing the same random number page via client routing will give you different number. Another next.js -bug- feature.

JackStepanyan
Автор

thank you, you solve my 7 days problem

gareebsportscricket
Автор

force-dynamic wont make a client component dynamically rendered. What can we do in that case?

jellyfish
Автор

Is this a differnt type of dynamic route? I thought dynamic routes were just the routes in the brackets [route.tsx], that are used for dynamic pages, like group chats, profile pages, etc.

TedMosby-fkgj
Автор

How can we use nodejs library in middleware.js as it is a edge function and currently we have libraries for node

copilotcoder
Автор

Did you learn DSA for becoming a better web developer?
What's your thoughts on learning DSA and spending time on solving LeetCode problems?
If you have to advice someone who wants to become a full-stack engineer, then what advice will you give to him?
1) Learn DSA first or
2) Learn HTML, CSS, Javascript, React, MERN, SQL, Nextjs and so on.

zunnoorainrafi
Автор

Idk why both methods are not working for me why im stuck from a week 😖😖 please reply...

SanjayNG
Автор

That's a great video👍. But I still prefer to use {cache: "no-store"} when I use fetch.

slemchik
Автор

Thoughts on Next.js compared to Sails.js? I've been using Sails for the past few years but it seems to not receive many updates now. How does Next compare to it?

valemus