react-picture-show
react-picture-show copied to clipboard
Only a ReactOwner can have Refs
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.