I really love these new server components. I always enjoyed how Astro made use of directives to indicate whether to hydrate the component or not. Can't wait for it to be stable to use on Nuxt
Server-only pages and the nuxt-client directive is what I've been waiting for. I've been wanting to make server-only pages to cut down on client side JS, but it was difficult to add any interactivity. This should be much easier. Now, can I mark a component with .client.vue suffix and have it always be on the client even without the nuxt-client directive? Time to run some experiements.
It so fun to watch that Next/Nuxt creators are making same thing in their own way. "Let's render it on the server, it would be faster" - And we're back to PHP era 😂
Probably a noob question, but i have trouble understanding the relation between server component/pages and SSG. Does it makes sense to use '.server' for prerender pages ?
good question. it will prerender server components during build time. so as long as the props dont change, the component will be generated. you can read about that case in daniel roe's blog post: roe.dev/blog/nuxt-server-components
My favorite Nuxt/Vue Yotuuber is back 💚
Just to imagine what will be possible with Server Components in the future... 🔥
Kindly introduce server actions in server components
After long time bro
whoops 😅
I really love these new server components. I always enjoyed how Astro made use of directives to indicate whether to hydrate the component or not. Can't wait for it to be stable to use on Nuxt
Thanks for tutorial and for coming 😄 💚
looking forward for the next vids 🔥
This was informative! Thank you for making a video on this topic. Looking forward for more!
Glad it was helpful!
Great feature !
Server-only pages and the nuxt-client directive is what I've been waiting for. I've been wanting to make server-only pages to cut down on client side JS, but it was difficult to add any interactivity. This should be much easier. Now, can I mark a component with .client.vue suffix and have it always be on the client even without the nuxt-client directive? Time to run some experiements.
lmk if you find anything cool
It so fun to watch that Next/Nuxt creators are making same thing in their own way.
"Let's render it on the server, it would be faster" - And we're back to PHP era 😂
PHP can’t make SPA though 😂
noice
What font and theme in vscode?
Probably a noob question, but i have trouble understanding the relation between server component/pages and SSG. Does it makes sense to use '.server' for prerender pages ?
good question. it will prerender server components during build time. so as long as the props dont change, the component will be generated.
you can read about that case in daniel roe's blog post: roe.dev/blog/nuxt-server-components
What about your Vue course? Still waiting
PHP reincarnation
If only server components would work with SWR..
Nuxt is soo cool
i'm using nuxt 3.8
and when i changed index.vue to index.server.vue i got error 404 ! why ?