171 curated questions graded from Foundations (Easy) to Practical Patterns (Medium) and Internals & Architecture (Hard).
171
150
21
5 / Level
Foundations & Core Concepts
Answer: Next.js is a production-ready React meta-framework that enables hybrid rendering rendering strategies (SSR, SSG, ISR, CSR) out of the box.
next/image), scripts (next/script), fonts (next/font), and routes (next/link).Answer:
Answer:
/pages directory. App Router is built on the /app directory where folders define routes and a page.js file serves as the route leaf._app.js and _document.js for global layouts. App Router supports nested layouts using layout.js at any route level.getStaticProps and getServerSideProps. App Router uses standard async fetch() with custom cache configurations inside Server Components.Answer:
_app.js: Custom root wrapper that initializes pages. Used for persistent layouts, global CSS imports, state providers (e.g., Redux, React Query), and page-change tracking. Runs on both server and client._document.js: Custom HTML shell renderer. Used to inject <html> attributes, language codes, custom fonts, or SSR CSS-in-JS styles. Only runs on the server and cannot use React hooks or client-side logic.Answer: Both use bracket syntax, but structure files differently:
pages/post/[id].js maps to /post/:id.app/post/[id]/page.js maps to /post/:id.[...slug] map to nested sub-routes (e.g., /post/a/b/c).[[...slug]] match the base route as well as nested sub-routes (e.g., matching /post as well as /post/a/b).Get instant access to all 57 questions, in-depth model answers, code sandboxes, and all 27+ technologies for a single one-time payment.
Core concepts, definitions, basic syntax, and first principles expected in round 1 screening.
Real-world mechanisms, state management, edge cases, performance trade-offs, and practical coding.
Deep runtime internals, memory models, distributed design, concurrency failure modes, and architectural decisions.