Element ref was specified as a string (MySider) but no owner was set. This could happen for one of the following reasons: 1. You may be adding a ref to a function component 2. You may be adding a ref to a component that was not created inside a component’
React 多个副本
If you are using npm... npm ls or npm ls react might help illuminate.