Newsletter Issue #144View this issue onlineSponsoredGet 50% off on the latest Vue.js Themes and Templates. It’s all you need to create pixel-perfect design interfaces with seamless user experience. Enter coupon code “BF19” on the checkout page to get an instant discount. How will unit testing look with Vue 3's Composition API? This brief article verifies how the new API will play with vue-test-utils, the official unit testing library for Vue components. TypeScript can help you spot bugs in your code quicker. Here's a handy first-timers guide for setting up TypeScript with a Vue.js project. This Vue Dose tip is a guide for migrating Vue 2 Object API components to the new Vue 3 Composition API. Suspense is a special component coming in Vue 3 that renders fallback content until an async operation is performed. Learn more about how it can benefit your projects. CSS Modules is a way of automatically creating unique class names, thereby preventing any possible style leaking or accidental cascading between elements. CSS Modules can easily be set up with Vue CLI. Computed properties are the most important feature of Vue according to the author of this article. Learn how your components may have too many props, and how computed properties can help clean them up. The Vuex data model approach requires a separate Vuex module for each entity of your app e.g. users, posts, comments, etc. Following this pattern makes it very straightforward to structure your Vuex store. SponsoredThe Developer Economics Survey is an independent survey for developers only. Answer questions on your favorite tools, languages, and platforms. You could win a Surface Pro 6, iPhone 11 & more prizes and up to $1,000 in cash. Master Vue.js + ecosystem, Nuxt, Unit Testing, Jest, and more with Vue School's video courses at a massively discounted rate. Black Friday sale 40% off! Special thanks to my senior Patreon sponsors Snipcart. P.S. If you enjoyed this issue, show your support by buying me a coffee, or if you’d like to support me to create the newsletter ongoingly, you can make a pledge through Patreon. P.P.S. Continue the conversation with Vue.js Developers on social media: |
|
Click to load comments...