use-rx-vue

Description
353
Install
npm install use-rx-vue
Latest Version:0.0.50
Vue:3
License:MIT
Last Updated:Mar 31, 2021
Links: GitHub  ·  npm
Maintainer: redsuperbat

UseRxVue

Description

These are useful hooks that you can include into your vue application. These require that vue and rxjs is installed.

Hook Description
useObservable Subscribes a ref to given observable and unsubscribes on component unmount. Can accept an optional callback to trigger on each emitted value aswell as an inital state for the ref.
useObsFromEvent Exposes a callback and an observable that should be used to subscribe to dom events. Can accept an optional callback to trigger on each emitted value.
useObsFromRef Converts a ref into an observable

Installation

npm i --save use-rx-vue

Related Packages

vue-rx

RxJS bindings for Vue

446,432 3,330
vue3-hotkey

Hotkey Hooks for Vue3

19,819 31
@aplus-frontend/hooks

Vue hooks for Aplus frontend team.

11,237
@dfsj/hooks

通用的vue3 hooks函数

1,340
@antd-vue/hooks

vue3 hooks library

1,122

Version History

Version Released Vue License
0.0.50 ^3.0.5 MIT
0.0.49 ^3.0.5 MIT
0.0.48 ^3.0.5 MIT
0.0.47 ^3.0.5 MIT
0.0.46 ^3.0.5 MIT