Preparing for system design interviews?  Try bugzed.com →

Vuex Decorators for Vue Class Component

JSON →
library 0.3.2 ·javascript maintenance
verified Jun 17, 2026

vuex-class offers a set of decorator-based binding helpers designed to integrate Vuex store interactions seamlessly within Vue components built with `vue-class-component`. It provides decorators such as `@State`, `@Getter`, `@Action`, and `@Mutation` that allow developers to map Vuex store properties directly to class properties, significantly reducing boilerplate. The current stable version is `0.3.2`, released in 2019, indicating a project in maintenance mode, primarily supporting Vue 2 and Vuex 3 ecosystems. Its release cadence has been infrequent since 2019, suggesting limited active development but continued stability for its target environment. A key differentiator is its highly declarative syntax for accessing Vuex, moving away from string-based `map` helpers or direct `this.$store` calls, making the component code cleaner and more readable for TypeScript users leveraging decorators. This approach provides strong typing and improved developer experience when combined with `vue-class-component`.

total hits 8
actors 3 distinct systems
last hit 16d ago AhrefsBot
GPTBot
4
Script
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇬🇧 United Kingdom