Загрузка видео...
Не удалось загрузить видео
Server waterfalls in Next.js and what you can do about them.
114,202 просмотров • 2 лет назад •via X (Twitter)
Комментарии: 9

I thought the whole idea with SSR is that on first load you have the HTML with the data, be that for SEO purposes or something else, why would you opt for suspense boundaries instead of just a client component?

@isArray_dev

What’s the fastest way to build out a loading skeleton? I have like 20+ pages to do that for, almost each page has unique components.

If you use tailwind, try asking copilot / gpt to turn your piece of UI into a skeleton

@asidorenko_ super clean! I’ve been using this same pattern but one annoying thing is keeping the styling on my skeletons and components in sync. Do you have any tips around that?

This is the way. One of the reasons I'm excited for PPR!

Is that loading bar in terminal built-in from nextjs?

Nope, but it would be great if we had smth similar

how do you get that loading in cli ?
Похожие видео
How to recover from a server component error in Next.js
Alex Sidorenko
67,557 просмотров • 1 год назад

