I am new to useSWR, and I have to fetch a list of items calling some endpoint which returns paginated response
useSWR
const listItems = (id: String) =&g