ninjasort / react-star-rating

[Looking for Maintainers (email me)]: A simple star rating component built with React.
MIT License
173 stars 58 forks source link

Element ref was specified as a string (root) but no owner was set #44

Open MarshallTaylorV opened 4 years ago

MarshallTaylorV commented 4 years ago

Error: Element ref was specified as a string (root) 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's render method
  3. You have multiple copies of React loaded See https://fb.me/react-refs-must-have-owner for more information.
davidaik commented 4 years ago

I'm getting this error too. Not able to use this library.

taimurtariqsikandar commented 3 years ago

facing same issue. unbale to use this package.