All fields

“Routing (App/Pages Router)” in Information Technology

22 questions across 1 technology.

Information Technology

22 questions in 1 technology

#QuestionTechnologyTopicLevel
1How does file based routing work in the Next.js App Router? Next.js › Routing (App/Pages Router)Next.jsRouting (App/Pages Router)Beginner
2How is routing in the Pages Router different from the App Router? Next.js › Routing (App/Pages Router)Next.jsRouting (App/Pages Router)Beginner
3How do you programmatically navigate to a different page in response to a user action, such as after a successful form submission? Next.js › Routing (App/Pages Router)Next.jsRouting (App/Pages Router)Intermediate
4How do you use the Link component to enable fast client side navigation between pages? Next.js › Routing (App/Pages Router)Next.jsRouting (App/Pages Router)Intermediate
5How would you organize routes for a large application using route groups to keep related sections logically separated without affecting the URL? Next.js › Routing (App/Pages Router)Next.jsRouting (App/Pages Router)Advanced
6What is a dynamic route in Next.js, and how do you create one? Next.js › Dynamic Routes & Catch-All SegmentsNext.jsDynamic Routes & Catch-All SegmentsBeginner
7How do you create a custom 404 not found page in Next.js? Next.js › Error Handling & Not Found PagesNext.jsError Handling & Not Found PagesBeginner
8What is internationalization, and how does it apply to a Next.js application? Next.js › Internationalization (i18n) in Next.jsNext.jsInternationalization (i18n) in Next.jsBeginner
9What is a layout in the Next.js App Router, and how does it work? Next.js › Layouts & TemplatesNext.jsLayouts & TemplatesBeginner
10What is middleware in Next.js, and when does it run? Next.js › MiddlewareNext.jsMiddlewareBeginner
11How do you limit which routes your middleware actually applies to? Next.js › MiddlewareNext.jsMiddlewareBeginner
12How do you create a new Next.js project from scratch? Next.js › Next.js Project Setup & ConfigurationNext.jsNext.js Project Setup & ConfigurationBeginner
13If a project is migrating from the Pages Router to the App Router, what happens to the custom App and Document components? Next.js › Custom App & Document in Pages RouterNext.jsCustom App & Document in Pages RouterIntermediate
14What is a catch-all route segment, and when would you use one? Next.js › Dynamic Routes & Catch-All SegmentsNext.jsDynamic Routes & Catch-All SegmentsIntermediate
15What is an optional catch-all route segment, and how is it different from a regular catch-all segment? Next.js › Dynamic Routes & Catch-All SegmentsNext.jsDynamic Routes & Catch-All SegmentsIntermediate
16How do nested layouts work when you have layouts defined at multiple levels of your route structure? Next.js › Layouts & TemplatesNext.jsLayouts & TemplatesIntermediate
17How would you create a layout that only applies to a specific group of routes without affecting the URL structure? Next.js › Layouts & TemplatesNext.jsLayouts & TemplatesIntermediate
18How is the folder structure organized differently between the App Router and the Pages Router? Next.js › Next.js Project Setup & ConfigurationNext.jsNext.js Project Setup & ConfigurationIntermediate
19How do you set up the folder structure for a parallel route slot in your application? Next.js › Parallel Routes & Intercepting RoutesNext.jsParallel Routes & Intercepting RoutesIntermediate
20What is an intercepting route, and what problem does it solve? Next.js › Parallel Routes & Intercepting RoutesNext.jsParallel Routes & Intercepting RoutesIntermediate
21How does route based code splitting interact with shared layouts in the App Router? Next.js › Bundle Analysis & Code SplittingNext.jsBundle Analysis & Code SplittingAdvanced
22How would you set correct SEO metadata, such as the hreflang tags, for a multilingual Next.js website? Next.js › Internationalization (i18n) in Next.jsNext.jsInternationalization (i18n) in Next.jsAdvanced