News for hackers. Stuff that matters.
Re:Building all of our new mobile apps using React Native by pier25 on Wednesday January 29, 2020 @04:59PM (#22186315)
Another feature lacking in the mobile web are touch gestures.

I'm facing this problem right now and the best option for recognizing gestures seems to be HammerJS which adds 7.5kB gzipped to your app.

After that your app still needs to react kinetically (eg: the image moves while dragging it to the left and then the view transitions to the next image). It's a lot of code that needs to be shipped in the JS bundle.

BTW if you have a better solution than HammerJS please comment here:

https://news.ycombinator.com/item?id=22184079

There are no comments on this comment yet.