
The Truth About React Server Components
The React Show
00:00
Next JS Is Not Detecting Dynamic Pages
In next JS, you can have static pages and dynamic pages. Dynamic is a page that gets a request and then on the server, it processes and creates the page dynamically at runtime. So in my head, I'm like, nextJS should be detecting this and, you know, it should know this is a dynamic page. Well, that doesn't work. It definitely doesn't know. And so yeah, sure enough, looking at the build output, it was like, oh no, it's calling this a static page. This sucks. This will absolutely bite you in production," he says. "It smells like bad design to me"
Transcript
Play full episode