vue-async-computed-decorator

A vue-class-component decorator for vue-async-computed
40,233 15
Install
npm install vue-async-computed-decorator
Latest Version:0.0.5
Vue:2
License:MIT
Last Updated:Jan 7, 2023
Links: GitHub  ·  npm
Maintainer: foxbenjaminfox

vue-async-computed-decorator

This package provides a vue-class-component decorator for vue-async-computed. This allows you to use vue-async-computed in your class-style Vie components easily.

Usage Example:

import Vue from 'vue'
import AsyncComputedPlugin from 'vue-async-computed'
import AsyncComputed from 'vue-async-computed-decorator'
import Component from 'vue-class-component'

Vue.use(AsyncComputedPlugin)

@Component
class MyComponent extends Vue {
  @AsyncComputed
  async someComputedProp() {
    ...
  }
}

Credits

Thanks to @TheNoim, @saraedum, and @nwtgck for the implementation of this decorator.

Related Packages

vue-async-computed

Async computed properties for Vue

954,094 1,100
vue3-async-computed

This Vue 3 plugin allows you to create computed properties that are computed asy...

6,487 11
svue

Svue is a small (~2kb) library bringing Vue-style reactive stores with data and...

1,071 8
vue-async-properties

Vue Component Plugin for asynchronous data and computed properties.

7,529
vue-property-decorator

property decorators for Vue Component

15,253,854 5,457

Version History

Version Released License
0.0.5 MIT
0.0.4 MIT
0.0.3 MIT
0.0.2 MIT
0.0.1 MIT