crimx / observable-hooks

⚛️☯️💪 React hooks for RxJS Observables. Concurrent mode safe.
https://observable-hooks.js.org
MIT License
1.02k stars 44 forks source link

Avoid calling functions emitted by observables #132

Closed robintown closed 3 months ago

robintown commented 3 months ago

This fixes https://github.com/crimx/observable-hooks/issues/131 at least for the case of useObservableEagerState. Looking at the code, it seems reasonable to expect that useObservableState and possibly other hooks suffer from the same issue. Those fixes would be more involved, though.

crimx commented 3 months ago

Thanks! observable-hooks@4.2.4 published.