mozilla / tofino

Project Tofino is a browser interaction experiment.
https://mozilla.github.io/tofino
Apache License 2.0
647 stars 68 forks source link

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

Closed rnewman closed 7 years ago

rnewman commented 7 years ago
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:

jsantell commented 7 years ago

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.