@solidjs-use/rxjs
v2.3.0
Published
Enables RxJS reactive functions in solidjs completely by VueUse
Downloads
393
Maintainers
Readme
@solidjs-use/rxjs
This is an extension of solidjs-use, enabling a natural way of using RxJS.
Install
npm i solidjs-use @solidjs-use/rxjs rxjs
Functions
from
— / fromEventtoObserver
— sugar function to convert aref
into an RxJS ObserveruseObservable
— use an RxJSObservable
useSubject
— bind an RxJSSubject
to aref
and propagate value changes both waysuseSubscription
— use an RxJSSubscription
without worrying about unsubscribing from it or creating memory leaks