Question Bank

3705 approved questions from the community

How do fetch cache options work in the App Router?

HARD
SINGLE CHOICE
40s
Next.js
by Mohamed

In Next.js App Router, you can use both the Edge Runtime and Node Runtime in the same application.

HARD
TRUE FALSE
30s
Next.js
by Mohamed

What is the purpose of `placeholder='blur'` in the Image component?

MEDIUM
SINGLE CHOICE
35s
Next.js
by Mohamed

What is Next.js?

EASY
SINGLE CHOICE
25s
Next.js
by Mohamed

What is the default port for a Next.js application?

EASY
SINGLE CHOICE
20s
Next.js
by Mohamed

What is file-based routing in Next.js?

EASY
SINGLE CHOICE
30s
Next.js
by Mohamed

What is the purpose of the `public` folder in Next.js?

EASY
SINGLE CHOICE
25s
Next.js
by Mohamed

What is the purpose of the `next.config.js` file?

MEDIUM
SINGLE CHOICE
30s
Next.js
by Mohamed

What is Server-Side Rendering (SSR) in Next.js?

MEDIUM
SINGLE CHOICE
35s
Next.js
by Mohamed

What is Static Site Generation (SSG) in Next.js?

MEDIUM
SINGLE CHOICE
35s
Next.js
by Mohamed

What is Incremental Static Regeneration (ISR) in Next.js?

HARD
SINGLE CHOICE
40s
Next.js
by Mohamed

What is the purpose of the `useRouter` hook in Next.js?

EASY
SINGLE CHOICE
30s
Next.js
by Mohamed

What is the difference between `router.push()` and `router.replace()` in Next.js?

MEDIUM
SINGLE CHOICE
35s
Next.js
by Mohamed

What is Fast Refresh in Next.js?

EASY
SINGLE CHOICE
25s
Next.js
by Mohamed

How do you add component-level CSS in Next.js?

MEDIUM
SINGLE CHOICE
30s
Next.js
by Mohamed

How do you handle environment variables in Next.js?

EASY
SINGLE CHOICE
30s
Next.js
by Mohamed

What is the Pages Router in Next.js?

EASY
SINGLE CHOICE
30s
Next.js
by Mohamed

What is `getStaticProps` used for in Next.js Pages Router?

MEDIUM
SINGLE CHOICE
35s
Next.js
by Mohamed

What is `getServerSideProps` used for in Next.js Pages Router?

MEDIUM
SINGLE CHOICE
35s
Next.js
by Mohamed

What is `getStaticPaths` used for in Next.js?

MEDIUM
SINGLE CHOICE
35s
Next.js
by Mohamed
PreviousPage 99 of 186Next