Subscribe to our newsletter By subscribing, you agree with Revueβs Terms of Service and Privacy Policy and understand that Weekly Vue.js News will receive your email address. Jul 25, 2022 Weekly Vue.js News - #51 - Global Store On The Vue App Instance Hi π I'm on our honeymoon for the next two weeks π΄ In this issue, I have curated a few interesting ar View online Michael Hoffmann (Mokkapps) @mokkapps Hi πIβm on our honeymoon for the next two weeks π΄In this issue, I have curated a few interesting articles and tweets to help you in your journey to become a Vue expert.Have a great week βοΈ Vue Tip: Define component name with <script setup> Vue provides globalProperties on the app instance, an object that can be used to register global properties: msg can be accessed on any component instance inside the application: As with anything global, this should be used sparingly. If your app state is too complex, itβs better to use Pinia. Vue Articles Vite 3.0 is out! ππ» New documentationππ» Create Vite Starter Templatesππ» Dev & Build Improvementsππ» Bundle Size Reductionππ» Upgrades to Vite Coreππ» and moreβ¦ vitejs.dev Is Vue 2 Dead? ππ» Vue 2.7 is out, and now Vue 2 is end-of-lifing.ππ» What new features does Vue 2.7 have?ππ» What does Vue 3 have that Vue 2 doesnβt? www.youtube.com π οΈ vuensight ππ» Visualize Vue.js component relationships and communication channels, i.e. props, events and slots.ππ» This tool operates on the command line and is made for developers. github.com JavaScript Tip: Check if an object is empty We can use the built-in Object.keys method to check for an empty object. Web Development Articles Understanding the exclamation mark in TypeScript ππ» This article explains what the TS exclamation mark is and some popular use casesππ» It also shows the downsides and alternatives using the exclamation mark in TypeScript blog.logrocket.com Why we should verify HTTP response bodies, and why we should use zod for this Tim shows in this how he wrote a solution to verify that response bodies have the desired contract. timdeschryver.dev My Wonderful HTML Email Workflow ππ» This article describes a system for creating HTML emails.ππ» The system converts Markdown and custom React components into HTML that can be pasted into a newsletter tool. www.joshwcomeau.com π§΅ A thread of clever CSS tricks ππ» This Twitter thread contains several CSS tricks used by companies like Apple, Tesla, Airbnb, and Nike.ππ» It links to examples and explanations of how the code works. threadreaderapp.com Quote of the week Tools & Misc π οΈ Programming Fonts Test drive over 100 programming fonts online in your browser. www.programmingfonts.org π οΈ magic-regexp A compiled-away, type-safe, readable RegExp alternative github.com Did you enjoy this issue? Yes No Michael Hoffmann (Mokkapps) @mokkapps Hi π My name is Michael Hoffmann and I'm a Senior Frontend Developer, Freelancer and Blogger. I focus on Vue.js, JavaScript, TypeScript and Spring Boot. Occasionally I also give career & freelancer advice. My weekly emails reflect this preference. In order to unsubscribe, click here. If you were forwarded this newsletter and you like it, you can subscribe here. Created with Revue by Twitter. Holzapfelkreuther StraΓe 19, 81375 Munich, Germany Share Share to Twitter Share to Facebook Subscribe to our newsletter By subscribing, you agree with Revueβs Terms of Service and Privacy Policy and understand that Weekly Vue.js News will receive your email address.