ant-design/ant-design
The issue has been closed
已解决!使用任何带功能的控件都会报错:invariant.js?2e0c:38Uncaught 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). #1784
gasxia posted onGitHub