Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tecsyscom/1eb83fb857d453aaed1da27e04e1b982 to your computer and use it in GitHub Desktop.
Save tecsyscom/1eb83fb857d453aaed1da27e04e1b982 to your computer and use it in GitHub Desktop.
switching between react-router inside of a kibana app plugin
Uncaught Invariant Violation: removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner). (https://localhost:5601/uqz/bundles/kibana-react-d3-app.bundle.js?v=8467:113731)
@tecsyscom
Copy link
Author

Version: 6.0.0-alpha2
Build: 8467
Error: Uncaught Invariant Violation: removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to a component that was not created inside a component's render method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner). (https://localhost:5601/uqz/bundles/kibana-react-d3-app.bundle.js?v=8467:113731)
at window.onerror (https://localhost:5601/uqz/bundles/commons.bundle.js?v=8467:76117:17)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment