All fields

“Layouts & Templates” in Information Technology

21 questions across 3 technologies.

Information Technology

21 questions in 3 technologies

#QuestionTechnologyTopicLevel
1How do nested layouts work when you have layouts defined at multiple levels of your route structure? Next.js › Layouts & TemplatesNext.jsLayouts & TemplatesIntermediate
2What is a layout in the Next.js App Router, and how does it work? Next.js › Layouts & TemplatesNext.jsLayouts & TemplatesBeginner
3What is the difference between a layout and a template in the Next.js App Router? Next.js › Layouts & TemplatesNext.jsLayouts & TemplatesBeginner
4How 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
5How do you fetch and share data across a layout and all of its nested pages efficiently? Next.js › Layouts & TemplatesNext.jsLayouts & TemplatesAdvanced
6How does route based code splitting interact with shared layouts in the App Router? Next.js › Bundle Analysis & Code SplittingNext.jsBundle Analysis & Code SplittingAdvanced
7What is a DataTemplateSelector and when is it useful? .NET MAUI › Controls & Views.NET MAUIControls & ViewsIntermediate
8What is a DataTemplateSelector and when is it useful? .NET MAUI › Controls & Views.NET MAUIControls & ViewsIntermediate
9What is the purpose of the custom App component in the Pages Router? Next.js › Custom App & Document in Pages RouterNext.jsCustom App & Document in Pages RouterBeginner
10How do you set the page title and description for SEO in the Next.js App Router? Next.js › Metadata API & SEO OptimizationNext.jsMetadata API & SEO OptimizationBeginner
11What are parallel routes in the Next.js App Router, and why would you use them? Next.js › Parallel Routes & Intercepting RoutesNext.jsParallel Routes & Intercepting RoutesBeginner
12How does file based routing work in the Next.js App Router? Next.js › Routing (App/Pages Router)Next.jsRouting (App/Pages Router)Beginner
13How is routing in the Pages Router different from the App Router? Next.js › Routing (App/Pages Router)Next.jsRouting (App/Pages Router)Beginner
14Why can you not use React hooks like useState inside the custom Document component? Next.js › Custom App & Document in Pages RouterNext.jsCustom App & Document in Pages RouterIntermediate
15If 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
16How does the global-error.js file differ from a regular error.js file in the App Router? Next.js › Error Handling & Not Found PagesNext.jsError Handling & Not Found PagesIntermediate
17How 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
18How do you share state between multiple components that are not directly related, such as a shopping cart shown in both the header and a product page? Next.js › State Management in Next.js AppsNext.jsState Management in Next.js AppsIntermediate
19How would you organize global styles versus component specific styles in a large Next.js application? Next.js › Styling in Next.js (CSS Modules, Tailwind & Styled Components)Next.jsStyling in Next.js (CSS Modules, Tailwind & Styled Components)Intermediate
20How would you combine parallel routes and intercepting routes together to build a modal that overlays the current page? Next.js › Parallel Routes & Intercepting RoutesNext.jsParallel Routes & Intercepting RoutesAdvanced
21How 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