Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid calling functions emitted by observables #132

Merged
merged 1 commit into from
Jul 27, 2024

Conversation

robintown
Copy link
Contributor

This fixes #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.

This fixes crimx#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 crimx merged commit 715a4e1 into crimx:main Jul 27, 2024
1 check passed
@crimx
Copy link
Owner

crimx commented Jul 27, 2024

Thanks! [email protected] published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

useObservableEagerState sometimes calls emitted functions
2 participants