Q1781. How do you choose between Edge and Node runtimes for route handlers?
Use the Edge runtime for low-latency global responses and where Node APIs are not needed. Choose Node (default) when you require native Node modules, filesystem access, 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).
Use the Edge runtime for low-latency global responses and where Node APIs are not needed. Choose Node (default) when you require native Node modules, filesystem access, o...
Sometime you may need to create multiple instances of a module. For example, it is needed in the below cases, 1. If multiple stores that use the same module 2. Register t...
Slicing is a string operation for extracting a part of the string, or some part of a list. In Python, a string (say text) begins at index 0, and the nth character stores ...
The rest parameter should be the last argument, as its job is to collect all the remaining arguments into an array. For example, if you define a function like below it do...
When you declare a component as a function or a class, it must never modify its own props. Let us take a below capital function, ```javascript function capital(amount, in...
Vuex enforces below high-level principles, 1. The Application-level state need to be centralized in the store 2. The state should be mutated by committing mutations only(...
Python has support for formatting any value into a string. It may contain quite complex expressions. One of the common usages is to push values into a string with the %s ...
Below are the list of bitwise logical operators used in JavaScript 1. Bitwise AND ( & ) 2. Bitwise OR ( | ) 3. Bitwise XOR ( ^ ) 4. Bitwise NOT ( ~ ) 5. Left Shift ( > ) ...
There are three conditions to make sure, it is safe use the index as a key. 1. The list and items are static– they are not computed and do not change 2. The items in the ...
In strict mode, you can't mutate state directly using `v-model` attribute. If you use v-model it throws an error because mutation is not performed inside an explicit Vuex...
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.