I've started sharing my content on Threads, been experimenting with AI chatbots, but unfortunately, made no progress on my blog post about optimistic updates.
In this issue, enjoy the latest articles, videos, and tools to keep your Vue and Nuxt skills sharp!
👉🏻 In benchmarks of server-side rendering (SSR) across frontend frameworks, like React, Vue, Svelte, and Solid, fastify-html and Vue are the top performers.
As you can see in the example above, the ref can only be accessed after the component is mounted. Therefore, we use the onMountedonMounted lifecycle hook to focus on the input element. In a template expression, myInputmyInput will be nullnull on the first render because the element doesn't exist at that point.
If the auto-inference doesn't work as expected, you can provide a type argument to useTemplateRef()useTemplateRef() to specify the type explicitly:
👉🏻 This book is a collection of common and challenging trouble spots that trip up JS and TypeScript developers, along with tips on how to recognize and resolve them.
👉🏻 The Temporal API in JavaScript offers a new approach to handling time with the Temporal.ZonedDateTime object, which accurately represents dates and times with their corresponding time zones.
👉🏻 A CLI tool that detects memory leaks in web applications by simulating user interactions, analyzing heap snapshots, and identifying leaked objects, event listeners, and DOM nodes.
😂 Fun
🔗 Want more Vue & Nuxt content?
More Exclusive Vue Tips: Join Michael Thiessen's newsletter and get great Vue tips and insights delivered to your inbox each week.
Weekly Vue & Nuxt Videos: You must subscribe Alexander Lichter's YouTube channel if you are interested in Vue & Nuxt.
DejaVue Podcast: A weekly podcast about Vue.js and the ecosystem around it.
Comments? Join the discussion about this issue in our Discord community.
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...
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 }" > ...
评论
发表评论