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

ReactJS: observable proceeds to execute even if unsubscribed #97

Closed
plentylife opened this issue Dec 10, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@plentylife
Copy link

commented Dec 10, 2018

Describe the bug
Following the documented pattern of use with ReactJS, where an observable is subscribed to in the componentWillMount and unsubscribed in componentWillUnmount, sometimes leads to Warning: Can't call setState (or forceUpdate) on an unmounted component.

Example
https://codepen.io/anon/pen/EGaWEX

Expected behavior
Expecting that the subscribe function is not executed after unsubscribe

@ClickSimply

This comment has been minimized.

Copy link
Owner

commented Dec 16, 2018

This should be resolved as of NanoSQL v1.8.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.