Core concepts, definitions, basic syntax, and first principles expected in round 1 screening.
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).You've completed the 5 free sample questions. Get unrestricted lifetime access to every question, model answer, implementation challenge, and all 27+ technologies for a single payment.
₹399 India / $9 International · One-time settlement · Zero subscription