Tagged articles
8 articles
Page 1 of 1
JavaScript
JavaScript
Jan 14, 2026 · Frontend Development

Why Vue 3 Drops Mixins and How to Switch to the Composition API

Vue 3 discourages the traditional Mixins pattern due to naming conflicts, unclear origins, namespace pollution, and complex inheritance, and recommends the Composition API, which offers explicit imports, conflict avoidance, better TypeScript support, organized code, and improved testability, along with migration steps for existing projects.

Composition APIMixinsTypeScript
0 likes · 5 min read
Why Vue 3 Drops Mixins and How to Switch to the Composition API
JavaScript
JavaScript
Nov 1, 2025 · Frontend Development

Why Vue 3’s Composition API Beats Mixins: Benefits and Migration Guide

The article explains how Vue 3’s Composition API resolves the naming conflicts, hidden dependencies, and reusability limits of Vue 2 mixins, showcases practical code examples, and describes a real‑world fintech migration that makes component logic clearer and more maintainable.

Code RefactoringComposition APIMixins
0 likes · 6 min read
Why Vue 3’s Composition API Beats Mixins: Benefits and Migration Guide
JavaScript
JavaScript
Oct 1, 2025 · Frontend Development

Why Vue 3’s Composition API Beats Mixins: Real‑World Refactor Insights

Vue 3 replaces the once‑popular mixins pattern with the Composition API, offering explicit dependencies, clearer source tracing, better TypeScript support, and improved maintainability, as illustrated by a fintech trading platform’s migration from tangled mixins to clean, reusable composition functions.

Composition APIJavaScriptMixins
0 likes · 6 min read
Why Vue 3’s Composition API Beats Mixins: Real‑World Refactor Insights
JavaScript
JavaScript
May 12, 2025 · Frontend Development

Why Vue 3 Discourages Mixins and How Composition API Solves Their Problems

The article explains why Vue 3 no longer recommends the Mixins pattern, outlines its drawbacks such as naming conflicts and unclear data origins, and demonstrates how the Composition API provides a clearer, more maintainable alternative for reusable logic.

Composition APIJavaScriptMixins
0 likes · 5 min read
Why Vue 3 Discourages Mixins and How Composition API Solves Their Problems
php Courses
php Courses
Apr 9, 2024 · Backend Development

Laravel Mixins: Extending Str and Arr Helpers with Macros

This guide explains how to use Laravel macros and Mixins to extend the Str and Arr helper classes, providing reusable methods such as fullName, initials, camelToSnake, snakeToCamel, and filterNulls, and demonstrates registration via AppServiceProvider for cleaner, maintainable backend code.

BackendLaravelMacros
0 likes · 8 min read
Laravel Mixins: Extending Str and Arr Helpers with Macros
Sohu Tech Products
Sohu Tech Products
Jul 26, 2023 · Frontend Development

Six Advanced TypeScript Techniques: Advanced Types, Decorators, Namespaces, Mixins, Type Guards, and Utility Types

This article introduces six advanced TypeScript techniques—advanced types, decorators, namespaces, mixins, type guards, and utility types—providing clear examples and code snippets that demonstrate how to improve code quality, modularity, and type safety in modern JavaScript projects.

MixinsNamespacesTypeScript
0 likes · 17 min read
Six Advanced TypeScript Techniques: Advanced Types, Decorators, Namespaces, Mixins, Type Guards, and Utility Types