Vue Promised
Composable Promises & Promises as Components
Description
Composable Promises & Promises as Components
Overview
When working with asynchronous operations such as API requests, it is often desirable to:
- Show a loading indicator (e.g., spinner) while the request is in progress.
- Handle any errors that may occur during the request.
- Delay the display of the loading indicator for at least 200 ms to prevent flickering when requests resolve quickly.
Solution
Vue Promised consolidates all these requirements into a single, reusable component, eliminating boilerplate code.
Creator
Eduardo San Martin Morote
@posva
Related Projects
Nuxt Starter Kit
App Starter Kit
NuxSaaS
Full-Stack SaaS Starter Kit
Nuxt Commerce
E-Commerce App
Frappe Learning
Open-source Learning Management System
Nuxtbe
Nuxt SaaS Starter Kit
Nuxflare Pro
Nuxt & Cloudflare Starter Kit