1. 2
    Utilize API Routes in Nextjs
    2m 39s

Utilize API Routes in Nextjs

Domitrius Clark
InstructorDomitrius Clark

Share this video with your friends

Send Tweet

Nextjs not only allows us to setup basic and dynamic routes, it also allows us to use a similar pattern for defining API routes. In this video we will setup two API routes, consume the data in our React components with react-query's useQuery hook.