SWR, a React hooks library for data fetching, makes it easy to communicate with your Next.js API Route.