Question Bank
3705 approved questions from the community
What does the `fallback` option in `getStaticPaths` control?
What is the purpose of the `_app.js` file in Next.js Pages Router?
What is the difference between `_app.js` and `_document.js` in Next.js?
How do you create a 404 page in Next.js?
What is the App Router in Next.js?
What is the purpose of the `'use client'` directive in Next.js?
What is the purpose of the `'use server'` directive in Next.js?
What are React Server Components (RSC) in Next.js App Router?
What is the purpose of the `loading.js` file in the App Router?
What is the purpose of the `error.js` file in the App Router?
What is the difference between `layout.js` and `template.js` in the App Router?
What is the purpose of `generateStaticParams` in the App Router?
What does the `dynamic` export control in the App Router?
What is the purpose of `next/script` in Next.js?
How do you handle redirects in Next.js?
In Next.js, environment variables prefixed with NEXT_PUBLIC_ are exposed to the browser.
Next.js automatically code-splits JavaScript bundles to load only the code needed for each page.
How do you enable TypeScript in a Next.js project?
What is the 'override' keyword used for in C#?
What is the difference between a clustered and non-clustered index in SQL?