Q951. Explain the three states of promise?
Promises have three states: 1. **Pending:** This is an initial state of the Promise before an operation begins 2. **Fulfilled:** This state indicates that the specified o...
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).
Promises have three states: 1. **Pending:** This is an initial state of the Promise before an operation begins 2. **Fulfilled:** This state indicates that the specified o...
**Note:** This question references React v16, which is outdated. The information below applies to React 16+, including current versions (React 18/19). Yes. Starting with ...
**`next-env.d.ts`** is an auto-generated TypeScript declaration file placed at the root of a Next.js project. ### What It Does: It contains TypeScript reference directive...
When you navigate from one URL to other(mapped with a single component) using routes with params then the same component instance will be reused. Even though it is more e...
A `SELECT` statement nested inside another SQL statement to supply values for filtering or computation is called a **subquery** (also known as an **inner query** or **nes...
A lambda statement is used to create new function objects and then return them at runtime. Example: my_func=lambdax:x**2 creates a function called my_func that return s t...
The `` element in HTML5 is used to provide multiple versions of an image at different resolutions or sizes, and allows the browser to choose the best version to display b...
A callback function is a function passed into another function as an argument. This function is invoked inside the outer function to complete an action. Let's take a simp...
You can simply use `Array.prototype.map` with ES6 _arrow function_ syntax. For example, the `items` array of objects is mapped into an array of components: ```jsx harmony...
**`next-compose-plugins`** was a popular community utility library used in older Next.js projects to cleanly chain and compose multiple configuration plugins in `next.con...
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.