voronianski/react-swipe

error in react 15.5.4

stefaniepei opened this issue · 3 comments

Description

package.json
"react": "^15.5.4", "react-dom": "^15.5.4", "react-swipe": "^5.0.8", "swipe-js-iso": "^2.0.3",
<ReactSwipe></ReactSwipe>

It doesn't work!
Error:Error: 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).
when remove <ReactSwipe></ReactSwipe>,It's OK!

I think my latest pull request #108 will fix this if @voronianski check it out or add me as a contributor in the case he doesn't have enough time.

fixed in 5.1.0

Great!