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
Closed

ReactJS: observable proceeds to execute even if unsubscribed #97

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

Comments

@plentylife
Copy link

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

@only-cliches
Copy link
Owner

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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants