addComponentAsRefTo(...)
提示报错:
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>
提供下 react-native 的版本 react 版本?
@JackPu 我也出现这种情况 [email protected]
一样的情况,[email protected]
我 demo 下面的 https://github.com/Vanthink-UED/react-core-image-upload/blob/master/_sites/package.json 版本就是 15.5.4
我也遇到这种情况