goncy / react-swipy

A simple Tinder-like swipeable React component
MIT License
27 stars 19 forks source link

Problem with react-spring #5

Open olisteadman opened 5 years ago

olisteadman commented 5 years ago
Failed to compile.

./node_modules/react-spring/dist/web.js
Module not found: Can't resolve 'react' in '~/my-app/node_modules/react-spring/dist'
pedro-lb commented 4 years ago

Have you tried cleaning your node_modules directory and re-running?

rm -rf node_modules && yarn install

pedro-lb commented 4 years ago

Since this looks unmaintained I've ported this lib to Typescript, added new features and fixed the issue above here:

https://github.com/pedro-lb/react-deck-swiper

yarn add react-deck-swiper

goncy commented 4 years ago

Thanks @pedro-lb I will tag your repo on the readme

pedro-lb commented 4 years ago

Thanks @goncy!

RathanakSreang commented 4 years ago

@pedro-lb it seem your react-deck-swiper has no animation when we click on button. And how can trigger button click from child node?

pedro-lb commented 4 years ago

Hey there @RathanakSreang!

Can you please file a new issue here?

RathanakSreang commented 4 years ago

@pedro-lb your repo, I cannot create issue.

pedro-lb commented 4 years ago

@RathanakSreang Can you please try again?

Here