FlashKeepers

Web Development · College · College and University

Next.js Fundamentals

Next.js routing, server and client components, rendering strategies, data fetching, API routes and deployment concepts.

About this set

36 basic cards for College Web Development. It opens with "What is the routing system in Next.js based on?" and "How do you create a dynamic route segment in Next.js?". Study it alongside the other College sets below.

36 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is the routing system in Next.js based on?
Show answerFile and folder structure in the app directory
How do you create a dynamic route segment in Next.js?
Show answerUse square brackets around the folder name, e.g., [id]
What is the syntax for a catch-all route in Next.js?
Show answerThree dots followed by a parameter name, e.g., [...slug]
What is a route group in Next.js?
Show answerParentheses around folder names to organize routes without affecting the URL path
How do you create an optional catch-all route?
Show answerUse double square brackets, e.g., [[...slug]]
What does the app directory replace in Next.js?
Show answerThe pages directory from earlier Next.js versions
What is the default type of component in Next.js app directory?
Show answerServer component
How do you mark a component as a client component in Next.js?
Show answerAdd 'use client' directive at the top of the file
Can you use React hooks like useState in a server component?
Show answerNo, hooks only work in client components
When should you use server components instead of client components?
Show answerFor database access, sensitive operations, and large dependencies
What does SSR stand for in Next.js?
Show answerServer-Side Rendering
What does SSG stand for in Next.js?
Show answerStatic Site Generation
What does ISR stand for in Next.js?
Show answerIncremental Static Regeneration
When is a page statically generated in Next.js?
Show answerAt build time
What capability does Incremental Static Regeneration (ISR) provide?
Show answerRevalidate and regenerate static pages without a full rebuild

21 more cards in the app

Study this set free