Weekly Vue News — #63 — Securely unwrap a ref

Michael Hoffmann
3 min readOct 18, 2022

--

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

Image created with CodeSnap.dev

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

dev.to

👉🏻 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

vuestorefront.io

👉🏻 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

www.youtube.com

👉🏻 In this video, you’ll learn how to implement list virtualization to solve performance issues in huge lists.

🛠️ Vuetensils

github.com

👉🏻 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

Image created with CodeSnap.dev

Curated Web Development Content

📕 The TypeScript Guide I Wish I Had

betterprogramming.pub

👉🏻 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

dev.to

👉🏻 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

levelup.gitconnected.com

👉🏻 A shift in focus from programs to AI models could make programming obsolete.

🛠️ Axios v1.0.0

github.com

👉🏻 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

github.com

👉🏻 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.

Quote of the Week

--

--

Michael Hoffmann
Michael Hoffmann

Written by Michael Hoffmann

Senior Frontend Developer (Freelancer) from Germany focused on Vue.js

No responses yet