8 cards81 people studying this

React & Next.js

Modern React patterns, hooks, server components, and Next.js concepts for full-stack development.

Share on XWhatsApp
Study this deck for free

Free account includes unlimited cards, FSRS v6 scheduling, and AI card generation.
No credit card required.

Try it — tap the card
What is the difference between Server and Client Components in Next.js?
92% likely forgotten
Tap to see the answer
Server Components render on the server (no JS bundle, direct DB access). Client Components run in the browser ("use client" directive, can use hooks/events).
Tap to flip back
What is useEffect and when should you use it?
Last reviewed 12 days ago
Tap to see the answer
A hook for side effects (API calls, subscriptions, DOM manipulation). Runs after render. Dependency array controls when it re-runs. Empty [] = once on mount.
Tap to flip back
What is the difference between useMemo and useCallback?
87% likely forgotten
Tap to see the answer
useMemo memoizes a computed value. useCallback memoizes a function reference. Both prevent unnecessary re-renders by keeping references stable.
Tap to flip back
What is React Context and when to use it?
Fading — due 5 days ago
Tap to see the answer
A way to share state across components without prop drilling. Best for infrequent updates (theme, auth). For frequent updates, consider state management libraries.
Tap to flip back
What is the App Router in Next.js?
79% likely forgotten
Tap to see the answer
File-system based routing using the app/ directory. Supports nested layouts, server components by default, loading/error states, and parallel routes.
Tap to flip back
What is Suspense in React?
Last reviewed 21 days ago
Tap to see the answer
A component that shows a fallback while its children are loading (data fetching, lazy loading). Enables streaming SSR and concurrent features.
Tap to flip back
What is the virtual DOM?
94% likely forgotten
Tap to see the answer
A lightweight in-memory representation of the real DOM. React diffs the virtual DOM to determine the minimal set of changes needed, then batches real DOM updates.
Tap to flip back
What are React Server Actions?
Fading — due 9 days ago
Tap to see the answer
Async functions that run on the server, callable directly from client components. Replace API routes for mutations. Defined with "use server" directive.
Tap to flip back
Create your own AI flashcards

Create your own AI flashcards in 30 seconds — free

Get started for free

Want to track your progress with spaced repetition?

Sign up free to save this deck

Made with Forgetless — the AI flashcard app

Create your own deck in 30 seconds. Powered by the same algorithm as Anki.

Start free