Posts ✏️
All the articles I've posted.
How to Persist User Data with LocalStorage in Vue
Learn how to efficiently store and manage user preferences like dark mode in Vue applications using LocalStorage. This guide covers basic operations, addresses common challenges, and provides type-safe solutions for robust development.
Read More→How to Write Clean Vue Components
There are many ways to write better Vue components. One of my favorite ways is to separate business logic into pure functions.
Read More→The Problem with as in TypeScript: Why It's a Shortcut We Should Avoid
Learn why as can be a Problem in Typescript
Read More→Exploring the Power of Square Brackets in TypeScript
TypeScript, a statically-typed superset of JavaScript, uses square brackets [] in various powerful ways. This post explores the versatile applications of square brackets in TypeScript, from defining array types to complex type manipulations, enhancing code clarity and type safety.
Read More→How to Test Vue Composables: A Comprehensive Guide with Vitest
Learn how to effectively test Vue composables using Vitest. Covers independent and dependent composables, with practical examples and best practices.
Read More→