Q911. How do you add custom headers in Next.js?
Custom HTTP headers (such as CORS permissions, Cache-Control policies, or security headers like `Content-Security-Policy` and `X-Frame-Options`) can be configured in **`n...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (2,728 available).
Custom HTTP headers (such as CORS permissions, Cache-Control policies, or security headers like `Content-Security-Policy` and `X-Frame-Options`) can be configured in **`n...
Vue provides validations such as types, required fields, default values along with customized validations. You can provide an object with validation requirements to the v...
Yes — **SELF JOIN**. You must use aliases to distinguish the two instances. ```sql SELECT a.name AS employee, b.name AS manager FROM employees a, employees b WHERE a.mana...
Python uses **indentation** (typically 4 spaces according to PEP 8) rather than curly braces (`{}`) or `begin`/`end` keywords to define blocks of code such as functions, ...
To make an image clickable, we have to use anchor tag with the image tag nested inside it and specify where we want to be directed to in "href" attribute when image in cl...
You need to check browser support for web workers before using it ```javascript if (typeof Worker !== "undefined") { // code for Web worker support. } else { // Sorry! No...
You should use Webpack's `DefinePlugin` method to set `NODE_ENV` to `production`, by which it strip out things like propType validation and extra warnings. Apart from thi...
Historically, **`next export`** was the CLI command used to export a Next.js application into pure static HTML/CSS/JS files that could be hosted on any static hosting pro...
The v-model directive on a component uses **value** as the prop and **input** as the event, but some input types such as `checkboxes` and `radio buttons` may need to use ...
A Cartesian product occurs when tables are joined **without a condition**. Every row in Table A pairs with every row in Table B: `m × n` rows total. It's usually a bug, b...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.