All fields

“Rendering (SSR/SSG/ISR)” in Information Technology

28 questions across 1 technology.

Information Technology

28 questions in 1 technology

#QuestionTechnologyTopicLevel
1What are the three main rendering strategies available in Next.js, and what does each one mean? Next.js › Rendering (SSR/SSG/ISR)Next.jsRendering (SSR/SSG/ISR)Beginner
2When would server side rendering be the better choice over static site generation or incremental static regeneration? Next.js › Rendering (SSR/SSG/ISR)Next.jsRendering (SSR/SSG/ISR)Intermediate
3How would you design a rendering strategy for a large application with a mix of static marketing pages, semi dynamic product pages, and fully personalized account pages? Next.js › Rendering (SSR/SSG/ISR)Next.jsRendering (SSR/SSG/ISR)Advanced
4What are the main benefits of static site generation, and when is it the best choice? Next.js › Rendering (SSR/SSG/ISR)Next.jsRendering (SSR/SSG/ISR)Beginner
5How does incremental static regeneration let you get the benefits of both static pages and fresh content? Next.js › Rendering (SSR/SSG/ISR)Next.jsRendering (SSR/SSG/ISR)Intermediate
6What is caching in Next.js and why is it important? Next.js › CachingNext.jsCachingBeginner
7What is hydration in the context of Next.js and React? Next.js › Client Components & HydrationNext.jsClient Components & HydrationBeginner
8What is Draft Mode in Next.js and when would you use it? Next.js › Draft Mode & Preview ModeNext.jsDraft Mode & Preview ModeBeginner
9What is the difference between a layout and a template in the Next.js App Router? Next.js › Layouts & TemplatesNext.jsLayouts & TemplatesBeginner
10How do you show a loading state automatically while a page's data is being fetched in the App Router? Next.js › Loading UI & Streaming with SuspenseNext.jsLoading UI & Streaming with SuspenseBeginner
11What is on-demand revalidation in Next.js, and how is it different from time based revalidation? Next.js › On-Demand Revalidation StrategiesNext.jsOn-Demand Revalidation StrategiesBeginner
12What does getStaticProps do in the Next.js Pages Router? Next.js › Pages Router Data Fetching (getStaticProps, getServerSideProps & getStaticPaths)Next.jsPages Router Data Fetching (getStaticProps, getServerSideProps & getStaticPaths)Beginner
13What does getServerSideProps do, and how is it different from getStaticProps? Next.js › Pages Router Data Fetching (getStaticProps, getServerSideProps & getStaticPaths)Next.jsPages Router Data Fetching (getStaticProps, getServerSideProps & getStaticPaths)Beginner
14How do you manually split a large component using dynamic imports in Next.js? Next.js › Bundle Analysis & Code SplittingNext.jsBundle Analysis & Code SplittingIntermediate
15How do you control how long a fetched piece of data stays cached before it is considered stale? Next.js › CachingNext.jsCachingIntermediate
16What causes a hydration mismatch error, and how can you fix one? Next.js › Client Components & HydrationNext.jsClient Components & HydrationIntermediate
17What 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
18How does getStaticPaths work together with getStaticProps for dynamic routes in the Pages Router? Next.js › Pages Router Data Fetching (getStaticProps, getServerSideProps & getStaticPaths)Next.jsPages Router Data Fetching (getStaticProps, getServerSideProps & getStaticPaths)Intermediate
19What are the different fallback options available in getStaticPaths, and how do they behave differently? Next.js › Pages Router Data Fetching (getStaticProps, getServerSideProps & getStaticPaths)Next.jsPages Router Data Fetching (getStaticProps, getServerSideProps & getStaticPaths)Intermediate
20What specific techniques help improve the Largest Contentful Paint metric on a typical Next.js page? Next.js › Web Vitals & Performance MonitoringNext.jsWeb Vitals & Performance MonitoringIntermediate
21What caching pitfalls should you watch out for when building a Next.js application with dynamic, user specific data? Next.js › CachingNext.jsCachingAdvanced
22How does enabling Draft Mode affect caching behavior for a page that is normally statically generated? Next.js › Draft Mode & Preview ModeNext.jsDraft Mode & Preview ModeAdvanced
23How do you pre-generate static pages for dynamic routes at build time using generateStaticParams? Next.js › Dynamic Routes & Catch-All SegmentsNext.jsDynamic Routes & Catch-All SegmentsAdvanced
24How would you handle a very large number of dynamic pages, such as millions of products, without making the build take too long? Next.js › Dynamic Routes & Catch-All SegmentsNext.jsDynamic Routes & Catch-All SegmentsAdvanced
25What strategies help further improve loading performance for image heavy pages beyond the default Image component behavior? Next.js › Image & Font OptimizationNext.jsImage & Font OptimizationAdvanced
26How does streaming interact with search engines and SEO, since content is sent in pieces rather than all at once? Next.js › Loading UI & Streaming with SuspenseNext.jsLoading UI & Streaming with SuspenseAdvanced
27How would you design loading states for a complex page with several independently loading sections to avoid a jarring, jumpy user experience? Next.js › Loading UI & Streaming with SuspenseNext.jsLoading UI & Streaming with SuspenseAdvanced
28If you are migrating a page from getStaticProps to the App Router, how do the equivalent data fetching patterns compare? Next.js › Pages Router Data Fetching (getStaticProps, getServerSideProps & getStaticPaths)Next.jsPages Router Data Fetching (getStaticProps, getServerSideProps & getStaticPaths)Advanced