Define TypeScript.
A typed superset of JavaScript that compiles to plain JavaScript.
What is the purpose of Node.js?
To run JavaScript on the server side, enabling backend development.
True or false: Next.js supports server-side rendering.
TRUE
Next.js allows rendering pages on the server for better performance.
Fill in the blank: Tailwind CSS is a _______ utility-first CSS framework.
Responsive
What does tsconfig.json configure?
It configures the TypeScript compiler options for a project.
Define middleware in Node.js.
Functions that have access to the request and response objects.
What is a Next.js API route?
A serverless function that handles HTTP requests in a Next.js app.
True or false: Tailwind CSS requires a preprocessor.
FALSE
Tailwind CSS can be used directly without a preprocessor.
What is Type Inference in TypeScript?
The ability of TypeScript to automatically deduce types.
Fill in the blank: Node.js uses _______ for asynchronous programming.
Event-driven architecture
What does SSR stand for in Next.js?
Server-Side Rendering
Define props in React.
Short for properties, they are inputs to React components.
What is the purpose of npm?
To manage packages and dependencies in JavaScript projects.
True or false: TypeScript can only be used with React.
FALSE
TypeScript can be used with any JavaScript framework.
What is a Tailwind CSS component?
A reusable UI element styled using Tailwind’s utility classes.
Fill in the blank: Next.js uses _______ for static site generation.
getStaticProps
What is the useEffect hook in React?
A hook that allows side effects in functional components.
Define asynchronous programming.
A programming paradigm that allows operations to run concurrently.
What is TypeScript’s main advantage?
It provides static typing, enhancing code quality and maintainability.
True or false: Node.js is single-threaded.
TRUE
Node.js uses a single-threaded model with event looping.
What does getServerSideProps do in Next.js?
Fetches data on each request for server-side rendering.
Fill in the blank: Tailwind CSS promotes _______ design.
Utility-first
What is a TypeScript interface?
A structure that defines the shape of an object.
What is the purpose of Express.js?
To simplify building web applications and APIs in Node.js.