Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

setState(...): Can only update a mounted or mounting component #1539

Closed
rnewman opened this issue Nov 7, 2016 · 1 comment
Closed

setState(...): Can only update a mounted or mounting component #1539

rnewman opened this issue Nov 7, 2016 · 1 comment

Comments

@rnewman
Copy link
Contributor

rnewman commented Nov 7, 2016

printWarning	@	warning.js:36
warning	@	warning.js:60
getInternalInstanceReadyForUpdate	@	ReactUpdateQueue.js:49
enqueueSetState	@	ReactUpdateQueue.js:201
ReactComponent.setState	@	ReactComponent.js:64
Search.handleKeyUpDebounced	@	search.jsx:115
invokeFunc	@	debounce.js:95
trailingEdge	@	debounce.js:142
timerExpired	@	debounce.js:130

I think my sequence of operations was:

  • Open Tofino.
  • Click a link in history.
  • Cmd-T, reddit.com.
  • Cmd-T, enter a search.
  • Cmd-2 to select reddit.com.
  • Click a link.
  • Close the reddit tab.
@rnewman rnewman added the bug label Nov 7, 2016
@jsantell
Copy link
Contributor

jsantell commented Nov 7, 2016

warning.js:36 Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. Please check the code for the Search component.

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

No branches or pull requests

4 participants