Weekly Vue News — #63 — Securely unwrap a ref
Hi 👋
last week I moved this newsletter to a separate domain: weekly-vue.news.
Hi, to more than 75 new subscribers 👋🤩
This week I’ll work on a new blog post about a polite newsletter signup that I have developed for my portfolio website based on Nuxt 3.
Have a great week ☀️
Vue Tip: Securely unwrap a ref
Returns the inner value if the argument is a ref, otherwise return the argument itself.
unref
is a sugar function for val = isRef(val) ? val.value : val
.
A typical usecase are composables as they should accept both refs and primitive values as inputs.
Curated Vue Content
📕 How we migrated to Vue 3
👉🏻 In this article, Sahin tries to share an overview of his Vue 3 migration journey.
👉🏻 “This article is not a guide on how to migrate Vue 3. It’s a story of how we made it, alive.”
📕 How to Deal With Caching And Dynamic Content in Nuxt.js
👉🏻 Learn everything you need to know to make your Server-Side or Statically generated Single Page Applications ready to be cached.
📹 Better Rendering Performance with Virtual Lists
👉🏻 In this video, you’ll learn how to implement list virtualization to solve performance issues in huge lists.
🛠️ Vuetensils
👉🏻 A ‘naked’ component library for building accessible, lightweight, on-brand applications.
👉🏻 Vuetensil’s components are designed to be starting points for some of the most common UI features
JavaScript Tip: Create an array containing 1…N elements
Curated Web Development Content
📕 The TypeScript Guide I Wish I Had
👉🏻 Includes visual guides and simple language.
👉🏻 This series will be broken up into many parts, starting with reasons to use Typescript, and some introductory concepts.
📕 Advice for Junior Developers
👉🏻 This blog post contains generic and technical advice for junior developers.
👉🏻 It links to books, blogs, and other resources for further reading.
📕 The End of Programming
👉🏻 A shift in focus from programs to AI models could make programming obsolete.
🛠️ Axios v1.0.0
👉🏻 Axios v1.0.0 has landed after eight years, 100,000 stars, and a presence in thousands of projects
👉🏻 Interceptors are just one of the many features why many people prefer Axios over the Fetch API
🛠️ InboxSDK
👉🏻 A JavaScript library for building apps inside of Gmail with browser extensions.
👉🏻 It features a high-level declarative API that handles all DOM manipulation in a performant way.