Support for React 16 #14
Comments
@DanaIliescu track the bug down and submit a PR with the upgrade maybe? |
@DanaIliescu I got the same problem, did you fixed it yet? never mind. I change the default react/react-dom version in the library package.json file, reinstall the dependence, and everything works like expected. |
Yeah, @alexandre-garrec, if you could add support for React 16 it would be amazing! |
CHeck out this fork, works for me now https://github.com/damien-mcmahon/react-swipe-card |
@stenmuchow this worked for me to fix the offsetWidth. |
Fixed it by adding () =>
|
When installing this via npm, React doesn't seem to be finding it: npm install https://github.com/damien-mcmahon/react-swipe-card -g I keep getting module not found |
@leonardmaguin how do you import the "action" method above? The way I used to do this, Importing |
anyone tries it with React 16? I encountered the same error! Please help. |
@nghiaoi3 I did not have success in finding a solve for this issue... |
I've just recently came across this package which I think is great in terms of progressive web app and not native, but it seems like it doesn't support React 16.
With the most basic example I get
TypeError: cannot read property 'offsetWidth' of null
After downgrading to React 15.4.2 everything worked. Any chances it will support latest version soon?
The text was updated successfully, but these errors were encountered: