Replies: 1 comment 1 reply
-
See docs.
Try this: const image$ = useObservable(() => merge(userImage$, media$))
const image = useObservableState(image$, '');
const [image] = useObservableState(() => merge(userImage$, media$), ''); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, first thanks a lot for creating this library it has beatifull api, im pretty new to the library and to react i will like to know if there is any way of to merge observables in useObservableState i notice that is emiting multiple time like it was resubscribing every time it change of state an example will be
while this works fine
Beta Was this translation helpful? Give feedback.
All reactions