react-picture-show icon indicating copy to clipboard operation
react-picture-show copied to clipboard

Only a ReactOwner can have Refs

Open 0xcaff opened this issue 7 years ago • 0 comments

When I import and use react-picture-show, I get the following error:

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

This happens in chrome but not in firefox. I'm using yarn as my package manager.

0xcaff avatar Sep 01 '17 23:09 0xcaff