Skip to content

Conversation

@leonid-shevtsov
Copy link

This is mostly done to silence a warning in React:

Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component CalculatorContainer. This is a no-op.

See discussion at facebook/react#2787

As this issue is unresolved and there is no final opinion from React devs, I think it's prudent to add a guard for the time being.

@leonid-shevtsov
Copy link
Author

cc @XeeD @mikekreeki

@XeeD
Copy link

XeeD commented Jul 3, 2015

👍

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.

3 participants