Vue.js: Guides and Practical Know-how | Page 14 | mironsoft Blog
Vue.js
-
Jan 21, 2025
A collection of reusable Vue components is not yet a design system. Only design tokens as a single source of truth for colors and spacing, a deliberately designed component API and firm versioning turn loose building blocks into a system that teams can use consistently across project boundaries.
-
Jan 16, 2025
Headless commerce with Magento GraphQL promises flexibility. In practice, Apollo Client configuration, type-safe code generation, SSR/SSG caching and fragment design decide whether the frontend stays fast and maintainable or turns into a complexity trap.
-
Jan 16, 2025
Building a single modal with Teleport is a well documented task in Vue. It gets harder once a second modal opens on top of the first, for example a confirmation dialog warning the user before leaving a form. At that point, z-index values, focus management, the escape key, and the body element's scroll lock all need to be coordinated so the modals do not interfere with each other.
-
Jan 14, 2025
Reactivity Transform promised reactive values without .value, destructurable directly like normal variables. The compiler experiment was officially dropped in 2023. If you read old code or old blog posts about it today, you should understand how it worked, why it failed, and what remains relevant for practice.
-
Jan 13, 2025
The Composition API gives developers maximum freedom when structuring components, and that is exactly the problem. Without clear conventions, setup() functions grow into unreadable blocks of a hundred lines with mixed logic. This guide shows how to structure the Vue Composition API so components stay maintainable, even as they grow complex.
-
Jan 13, 2025
If you change ten refs one after another, Vue does not render ten times, it renders once. The reactivity scheduler batches DOM updates through the microtask queue, and nextTick() is the tool for reliably waiting for exactly that moment instead of relying on accidental timing.
-
Jan 10, 2025
A Vue/Nuxt checklist for launch is more than a to-do list, it is the structured quality gate that prevents an app from going into production with slow Core Web Vitals, missing accessibility, or a fragile API integration.
-
Jan 2, 2025
A list component that renders rows regardless of whether they represent users, products or orders is a classic case for TypeScript generics, yet Vue components long lacked the right syntax for it. Since Vue 3.3, script setup supports its own generic attribute, letting props, emits and slots bind type-safely to a generic type parameter without falling back on any or unknown. The result is components that behave like generic functions: written once, but usable for arbitrary, concrete item types with full autocompletion.