This issue covers Vue's Suspense component for handling async rendering, NuxtHub's multi-vendor support, and updates to the Nuxt Module Author Guide. It also features interviews with Nuxt creators about the framework's evolution and future direction.
👉🏻 When working with data fetching, async components, or delayed UI loading, Vue developers often run into flickering interfaces, hydration issues, or mismatched loading states.
👉🏻 Vue Suspense solves this by giving you full control over asynchronous rendering with built-in placeholders, fallbacks, transitions, and error boundaries.
👉🏻 Sébastien Chopin, author of Nuxt and founder of NuxtLabs dives deep into how Nuxt was born, why Nitro exists, and where the Vue & Nuxt ecosystem is heading next.
👉🏻 Daniel Roe, Nuxt Core Team Lead, sits down to share his journey from everyday Nuxt user to maintaining the framework at scale and what it's really like to guide a global open-source project.
👉🏻 37signals uses vanilla CSS without build tools in its applications by using modern CSS features like custom properties, nesting, and the :has() selector, resulting in simpler, more maintainable code.
👉🏻 The project works behind the scenes hard on both v6.0 and v7.0.
👉🏻 v6.0 is going to be the final JavaScript-based release and act as a stepping stone to the native Go port (v7.0) which is already shaping up to be some 10x faster.
Weekly Vue News #194 Reactive Time Ago View online Hi 👋 I'm on vacation this week, so no special news from my side — just some fresh Vue & Nuxt content for you! Enjoy this issue and have a lovely week ☀️ Vue 📕 Optimizing heavy operations in Vue with Web Worke...
Read this on my blog We made it to 200! Thanks for reading and supporting me over the last few years, it means a lot to me. Tomorrow is the last day of the Composable Design Patterns course launch and the 35% off discount. If you were hoping to pick it up, don't forget to check it out! As always, I've got some tips and links for you, and a new podcast episode. Enjoy, and have a great week! — Michael 🔥 Default Content with Slots You can provide fallback content for a slot, in case no content is provided: < !-- Child.vue --> < template > < div > < slot > Hey! You forgot to put something in the slot! < / slot > < / div > < / template > This content can be anything, even a whole complex component that provides default behaviour: < !-- Child.vue --> < template > < div > < slot name = "search" > < !-- Can...
Hey! In yesterday's email I shared what I think is the key feature to making Vue components highly reusable: Scoped slots. But scoped slots are hard to grasp, and even more difficult to master. So today, we're going to make sure we understand them on a deep, intuitive level. Then, I'm going to introduce you to the magic ✨ of scoped slots. The trick is to think of them as functions. Slots are just functions We're going to recreate the functionality of slots, but we'll use a regular Javascript function that only returns HTML. This is the code we'll replicate: <!-- Parent --> < template > < div class = "modal-container" > < div class = "modal" > Content in the Parent < Child class = "mb-4" v-slot = "{ text }" > ...
评论
发表评论