Loading UI with Next.js 13 and React Suspense

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

💻 Resources:

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

Making a personal project with the new app directory. Already loving it. Patiently waiting for it to be off-beta.

aravindsanjeev
Автор

that's awesome, can't wait for the app directory to be ready for production

wfl-junior
Автор

I actually prefer a progress bar on the top of the page over this, which works with the "old" approach as well.

codinginflow
Автор

I wish the app directory was not beta! I'd be working on the migration right away.

stupeyca
Автор

Can we get the full className of the span element, the loading animation looks great! Thanks

JChannelJ
Автор

aight, I choose nextjs from today onwards hehe

chenkaihong
Автор

Is this bad for SEO? The final result looks like a SPA.

carlosduran
Автор

This is awesome! So this is gonna work with version 13 by default or do i have to opt in to use the app directory?

MarvinT
Автор

Great video! Could you by any chance share the code for this example? Would appreciate it!

JannikBertram
Автор

Nice tech, I can't wait to make a todoapp with it.

yourcasualdeveloper
Автор

holy shid i was legit JUST searching for this. thank you this is a gem

zin
Автор

That is awesome, is it possible to do the loading screen only when switching pages not on initial load?

cakier
Автор

What about bots and SEO in this case? Aren't bots just getting "loading" html peace?

MaxHuretski
Автор

If loading UI is shown when the page is directly accessed by URL then wouldn't it hurt the SEO? If I were to show blog post then SEO would see the placeholder thumbnail and skeleton loader instead of the actual content.

azzazkhansiddiqui
Автор

Vercel making it harder and harder to go for any other hosting provider! I don't mind tho, their service is incredible.

ContraHacker
Автор

What's better than solider boy teaching us Next.js.

Vedant-M
Автор

Do you have to be using the new app directory for this? It's not working on my project but I am not using the app directory since they say that it's still not production ready.

chrtravels
Автор

Wow! that's amazing and so easy to implement.

realdaly
Автор

Amazing technology. For Seo, will the list of posts be empty when a google bot crawls it? If I want the posts to be available for the google bot crawlers do I still need to do a static page?

spencerbigum
Автор

I hope that libraries will catch up soon.

Css-in-js libraries can't be used in server components, which seems odd? Is there anything that can be done about that? Is this something the libraries need to fix or is this just impossible and does all the style generation needs to happen on build time?

paales