question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

owner ref errors on open/close

See original GitHub issue

I implemented by copy/pasting the docs, but when I open I get this error and it does open.

Uncaught Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding 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).

and when I try to I get this error, and it fails to close:

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).

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
davidwadgecommented, Mar 24, 2016

@mgenev Did you manage to resolve this in the end?

Deleting the modules didn’t work for me, nor did moving the package to peerDependencies.

0reactions
diasbrunocommented, Jun 24, 2017

This issue must be fixed on current version v2+.

I’m closing this issue for clean up. Please, feel free to reopen this issue if needed. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

OpenClose User's Manual Build 201 - CU Mortgage Direct
The user will see an error message, which reads: Internet Explorer® should be in compatibility mode for the OpenClose site. To enable.
Read more >
Loan Origination Software Features - OpenClose
Origination · All Web-based mortgage software empowers originators with the ability to create loans from any location on desktop, laptop, or iPad®. ·...
Read more >
legacy-owners-manual.pdf - Overhead Door
HOMEOWNER: SAVE THIS MANUAL FOR FUTURE REFERENCE ... When Sure-Lock™ is ON the Open/Close button will CLOSE the door ... Radio receiver error....
Read more >
System 4 Install-Owner's.book - Rytec Doors
The installation and operation of the System 4 Drive &. Control® is not difficult, providing you follow the proce- dures outlined in this...
Read more >
Frequently Asked Questions (FAQ) - ASSISTments
Open/Close Arrow. Troubleshooting Common Errors. What do I do if I'm getting a blank/white screen when trying to sign into ASSISTments?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found