Consume Next.js API routes with the SWR library on the client-side by Xiaoru LiConsume Next.js API routes with the SWR library on the client-side
egghead