In Ionic 5, should we still use HammerJS for standard gestures?

I noticed that Ionic5 has included gesture support but it looks like that’s really geared towards custom gestures. Is it still recommended to use HammerJS for standard swipe, press, etc?

1 Like

The correct way to do it in Ionic 5 is to use its gesture engine as described here:

But it’s completely up to you, if you want to save the time of implementing own gestures with Ionic 5 and use a library like HammerJS.
The only downside to this is that you depend on a third-party-library and that this library might comes with way to many functions, that you won’t be using in your app.