A Better Approach To Data Fetching In Nuxt?

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


#vue #vue3 #datafetching #nuxt #nuxt3
Рекомендации по теме
Комментарии
Автор

Working on nuxt and having to found u is a blessing. I don't know why there are so little vuejs or nuxtjs tutorial on youtube.

jatinkumar
Автор

Great video, John and I totally agree with you. Blocking the page untill the data is fetched does not make a great UX.
Also, it's important to note that this behavior relies on async setup, top level await and suspense component. As there could be some caveats that require knowledge of these to deal with them.

alimaher
Автор

Great tip. I guess pending is going to be replaced by status==='pending' in v4

youhan
Автор

you are the best easily. thanks for sharing better approaches instead of just talking about how to do things in the most primitive way

berkaykarademir
Автор

Hello sir can you make a video about nuxt apollo? I am trying to initially fetch my data using useAsyncQuery but when I reload the page the data are gone but when using <NuxtLink> going back to that page displayed my data

RomFeliciano
Автор

awesome video. Would love to use Nuxt and Go on a project. Also, is it possible to make a full stack Nuxt app (using server pages and the likes)

madukomablessed
Автор

I was wondering, when using useFetch it is universale rendering, when is it doing ssr and when is it doing csr?

Because if you have a loading screen it is basically doing csr which is not great for seo right?

yykfguu