kutlugsahin/react-smooth-dnd

Illegal Invocation when you have two versions

fayebutler opened this issue · 0 comments

Hey, first of all thanks for the great library!

We have a website which uses react-smooth-dnd, and we also have created a separate npm package for some shareable code that also uses react-smooth-dnd.

When we install that package there is an Illegal Invocation error, I imagine since there are two versions trying to be run.

I've changed it to be a peer dependency on the package so it works that way for now, but it would be great if there was a way to have two versions work together.

Thanks

Screenshot 2020-10-20 at 11 42 52