@vue-composable/core
@vue-composable/core
This package contains core functionality for vue-composable
vue-next
Installing
# install with yarn
yarn add @vue/composition-api @vue-composable/core
# install with npm
npm install @vue/composition-api @vue-composable/core
Documentation
Check our documentation
Functionality
Date
- useNow : Return reactive custom timer with specified refresh rate
- useDateNow : Returns reactive
Date.now()with custom refresh rate - usePerformanceNow : Returns reactive
performance.now()with custom refresh rate
Pagination
- usePagination : Provides framework to implement reactive pagination
- useArrayPagination : Uses usePagination to paginate an array
Validation
- Validation - model based validation inspired by vuelidate
i18n
Format
Promise
- usePromise : Handles promise states
- promiseLazy - Sugar for usePromise
lazy:true - useCancellablePromise : Uses usePromise and prevent setting
resultif canceled - useRetry : Allows to retry if a promise throws an exception
General
- useDebounce: debounce functionality
Contributing
- Fork it!
- Create your feature branch:
git checkout -b feat/new-composable - Commit your changes:
git commit -am 'feat(composable): add a new composable' - Push to the branch:
git push origin feat/new-composable - Submit a pull request
License
Related Packages
vue-condition-watcher
Vue composition API for automatic data fetching. With conditions as the core. Ea...
3,951
49
Version History
Pre-releases (26)
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.0-alpha.8 | MIT | ||
| 1.0.0-alpha.7 | MIT | ||
| 1.0.0-alpha.5 | MIT | ||
| 1.0.0-alpha.4 | MIT | ||
| 1.0.0-alpha.2 | MIT | ||
| 1.0.0-alpha.1 | MIT | ||
| 1.0.0-dev.21 | ^2.6.10 | MIT | |
| 1.0.0-dev.20 | ^2.6.10 | MIT | |
| 1.0.0-dev.19 | ^2.6.10 | MIT | |
| 1.0.0-dev.18 | ^2.6.10 | MIT | |
| 1.0.0-dev.17 | ^2.6.10 | MIT | |
| 1.0.0-dev.16 | ^2.6.10 | MIT | |
| 1.0.0-dev.15 | ^2.6.10 | MIT | |
| 1.0.0-dev.14 | ^2.6.10 | MIT | |
| 1.0.0-dev.13 | ^2.6.10 | MIT | |
| 1.0.0-dev.12 | ^2.6.10 | MIT | |
| 1.0.0-dev.11 | ^2.6.10 | MIT | |
| 1.0.0-dev.10 | ^2.6.10 | MIT | |
| 1.0.0-dev.9 | ^2.6.10 | MIT | |
| 1.0.0-dev.8 | ^2.6.10 | MIT | |
| 1.0.0-dev.7 | ^2.6.10 | MIT | |
| 1.0.0-dev.6 | ^2.6.10 | MIT | |
| 1.0.0-dev.4 | ^2.6.10 | MIT | |
| 1.0.0-dev.3 | ^2.6.10 | MIT | |
| 1.0.0-dev.2 | ^2.6.10 | MIT | |
| 1.0.0-dev.0 | ^2.6.10 | MIT |