Загрузка видео...

Не удалось загрузить видео

На главную

Server waterfalls in Next.js and what you can do about them.

114,202 просмотров • 2 лет назад •via X (Twitter)

Комментарии: 9

Фото профиля hczdev
hczdev2 лет назад

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?

Фото профиля Alex Sidorenko
Alex Sidorenko2 лет назад

@isArray_dev

Фото профиля Edward Ornelas
Edward Ornelas2 лет назад

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.

Фото профиля Alex Sidorenko
Alex Sidorenko2 лет назад

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

Фото профиля will
will2 лет назад

@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?

Фото профиля Garrett
Garrett2 лет назад

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

Фото профиля Rifandani ⚛️
Rifandani ⚛️2 лет назад

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

Фото профиля Alex Sidorenko
Alex Sidorenko2 лет назад

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

Фото профиля Hrithik
Hrithik2 лет назад

how do you get that loading in cli ?

Похожие видео