Top React Hooks — Fetch, Scroll, and Modals
3 min readOct 1, 2020
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.
fetch-suspense
We can use the fetch-suspense package to do fetch and display a loading component while the data is loading.