react-core-image-upload icon indicating copy to clipboard operation
react-core-image-upload copied to clipboard

addComponentAsRefTo(...)

Open yinlsea opened this issue 8 years ago • 6 comments

提示报错: 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).

使用最简单的引用 <ReactCoreImageUpload text="Upload Your Image" className='pure-button' inputOfFile="files" url="..." imageUploaded={(res) => { debugger; }}> </ReactCoreImageUpload>

yinlsea avatar May 25 '17 06:05 yinlsea

提供下 react-native 的版本 react 版本?

JackPu avatar Jun 05 '17 06:06 JackPu

[email protected]

yinlsea avatar Jun 06 '17 14:06 yinlsea

@JackPu 我也出现这种情况 [email protected]

VincentSuperper avatar Jun 14 '17 10:06 VincentSuperper

一样的情况,[email protected]

Daisy201410 avatar Jun 20 '17 10:06 Daisy201410

我 demo 下面的 https://github.com/Vanthink-UED/react-core-image-upload/blob/master/_sites/package.json 版本就是 15.5.4

JackPu avatar Jun 20 '17 13:06 JackPu

我也遇到这种情况

fangbao-0418 avatar Jul 16 '17 10:07 fangbao-0418