Weekly Vue.js News - #48 - Memoize a sub-tree of the template using v-memo
Good news: I reached 200+ newsletter subscribers 🥳
Thank you, you are amazing 🙏🏻
For one year, I publish a new issue each week, and you can expect to receive valuable content with this newsletter in the future.
In this issue, you'll learn how to use
v-memo and how to set gaps in CSS.
If you are enjoying this newsletter, the best compliment you could pay me would be to say something nice about it online.
Stay safe and have a great week ☀️
Vue Tip: Memoize a sub-tree of the template using v-memo
v-memo directive is like a computed prop for the template and be used on both elements and components.
The directive expects a fixed-length array of dependency values to compare for the memoization.
If every value in the array was the same as last render, then updates for the entire sub-tree will be skipped.
Vue Suspense — Everything You Need to Know — vueschool.io
Michael wrote this article to clear up some misconceptions he has seen around Suspense.
Web Development News
Miško, the inventor of Angular, explains why he thinks so and shares the strategy the Qwik framework uses instead.
How to Prevent Merge Conflicts (or at least have less of them)
Rizel explains how you can reduce the number of merge conflicts you encounter with good communication and planning,
How To Add Custom Types to the Window With TypeScript
In this article, Jesse will show how to add Window types to your application and how to augment the Window to include custom properties.
Announcing TypeScript 4.8 Beta
👉🏻 The beta release improves type narrowing and compatibility for union and intersection types.
👉🏻 It also makes rebuilds faster when using the --build, --watch, or --incremental flags.
Stack Overflow Developer Survey 2022
This annual survey explores how developers learn and level up, which tools they are using, and what they want.
A beginner’s guide to CI/CD and automation on GitHub — github.blog
👉🏻GitHub Actions is a CI/CD tool that runs alongside code in GitHub.
👉🏻 There are more than 13,000 pre-written and tested workflows and pre-built automations in the GitHub Marketplace.
Quote of the week
Tools & Misc
GitHub Copilot is generally available to all developers — github.blog
👉🏻 Developers can get a 60-day free trial
👉🏻After the free trial, the service will be billed at $10 per calendar month or $100 per year.
👉🏻 This repository contains a collection of SVG spinner animations.
👉🏻 Each entry in the list has a link to the .svg file, a preview of the spinner, and its size in bytes.