Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/l-chris/vue-fns

react-use for vue
https://github.com/l-chris/vue-fns

hooks vue

Last synced: about 2 months ago
JSON representation

react-use for vue

Awesome Lists containing this project

README

        





👍


vue-fns




Collection of essential Vue Hooks.





npm i vue-fns





- [**Sensors**](./docs/Sensors.md)
- [`useWindowSize`](./packages/useWindowSize/useWindowSize.md) tracks `Window` dimensions.




- [**Animations**](./docs/Animations.md)
- [`useInterval`](./packages/useInterval/useInterval.md) re-renders component on a set interval using `setInterval`.
- [`useTimeout`](./packages/useTimeout/useTimeout.md) re-renders component after a timeout.
- [`useTimeoutFn`](./packages/useTimeoutFn/useTimeoutFn.md) calls given function after a timeout.




- [**Side-effects**](./docs/Side-effects.md)
- [`useAsync`](./packages/useAsync/useAsync.md) resolves an `async` function.
- [`useAsyncFn`](./packages/useAsyncFn/useAsyncFn.md) state management for an async function
- [`useTitle`](./packages/useTitle/useTitle.md) sets title of the page.




- [**State**](./docs/State.md)
- [`usePrevious`](./packages/usePrevious/usePrevious.md) returns the previous state or props.
- [`useCounter` and `useNumber`](./packages/useCounter/useCounter.md) tracks state of a number.




- [**Vuex**](./docs/Vuex.md)
- [`useState`](./packages/useState/useState.md)
- [`useGetters`](./packages/useGetters/useGetters.md)
- [`useMutations`](./packages/useMutations/useMutations.md)
- [`useActions`](./packages/useActions/useActions.md)
- [`useStore`](./packages/useStore/useStore.md)




- [**Vue-Router**](./docs/Vue-Router.md)
- [`useRouter`](./packages/useRouter/useRouter.md)