Topic: I'm getting "multiple copies of React" Error

Yarden H free asked 5 years ago

Element ref was specified as a string (ripple) but no owner was set. You may have multiple copies of React loaded. (details: Here's my code:

Tobiloba Adesanya free commented 5 years ago

I am getting the same problem, in every component that uses this ripple effect

john blakley free commented 5 years ago

same here

Mikołaj Smoleński staff commented 5 years ago

It's occuring because the lates version of React is 16 and mdbreact is based on 15 version. In the coming days we'll upgrade our product to the latest version.

Tobiloba Adesanya free commented 5 years ago

Thanks @Mikołaj Smoleński for the response. I actually updated the react package within the mdbreact package to React 16 although I am not sure if that made an impact.

Mikołaj Smoleński staff answered 5 years ago

Hello again, We've fixed this bug by updating our product to the latest React version and changing refs into ReactDOM in Waves component. Please delete mdbreact from package.json and add it again to dependencies like this: "mdbreact":"git+" We'll fix it also in the next update of mdbreact in npm. Regards  

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No