Top React Hooks — Swipes and States

John Au-Yeung
3 min readOct 7, 2020
Photo by Christiann Koepke on Unsplash

Hooks contains our logic code in our React app.

We can create our own hooks and use hooks provided by other people.

In this article, we’ll look at some useful React hooks.

React Swipeable

React Swipeable is a library that lets us handle swipe events in our app.

--

--