{"library":"vue-async-computed","type":"library","category":null,"description":"vue-async-computed is a lightweight plugin for Vue 3 that seamlessly integrates asynchronous operations into Vue's reactive system through a dedicated `asyncComputed` option. It allows developers to define computed properties that return Promises, effectively enabling the use of `async/await` syntax for computations that depend on asynchronous data fetching or complex, time-consuming operations. The current stable version is 4.0.1. This library addresses the inherent limitation of standard `computed` properties, which are synchronous, by providing a declarative way to manage asynchronous state, including automatic re-computation when dependencies change and handling the initial `null` state until the promise resolves. Its primary differentiator is the direct integration into the Vue instance/component options, offering a cleaner syntax compared to manual `watch` or `mounted` based async data handling.","language":"javascript","status":"active","version":"4.0.1","tags":["javascript","vue","data","async","computed","computed data","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-async-computed","imports":["import AsyncComputed from 'vue-async-computed'","import { createApp } from 'vue'","async someCalculation() { /* ... */ }"]},{"cmd":"yarn add vue-async-computed","imports":[]},{"cmd":"pnpm add vue-async-computed","imports":[]}],"homepage":null,"github":"https://github.com/foxbenjaminfox/vue-async-computed","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-async-computed","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-async-computed/compatibility"}}