In this video, Josh W Comeau, a software engineer, talks about parallel and intercepting routes in Next.js. Parallel routes allow you to render completely separate code to completely independent pages in the same layout. Intercepting routes allow you to handle custom logic before requests are forwarded. Josh demonstrates how to use these two features to create a login modal that appears on any page without actually navigating to the login page. He also shows how to define a custom behavior for hard reloads.
What is the name of the folder we need to create to render parallel routes?
What is the name of the file we need to create to intercept routes?
Previous
Next