Q1. How does reactivity work in Vue 3 with Proxy?
Vue 3 wraps reactive objects in an ES Proxy that intercepts get and set operations. On a get, track() records the currently active effect (a render function, computed or ...
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 (12 available).
Vue 3 wraps reactive objects in an ES Proxy that intercepts get and set operations. On a get, track() records the currently active effect (a render function, computed or ...
The Options API organises component logic into fixed options such as data, methods, computed, watch and lifecycle hooks. The Composition API organises the same logic insi...
computed derives a cached value from reactive dependencies. The getter re-evaluates only when a dependency changes and something reads the value, which makes it ideal for...
Inheritance is an is-a relationship: `Dog extends Animal` because every dog is an animal. Composition is a has-a relationship: `Car` holds an `Engine`. Inheritance gives ...
ref creates a reactive reference that can hold any value, including primitives, and is accessed through .value in JavaScript while auto-unwrapping in templates. reactive ...
Slots let a parent pass markup into a child. A default slot is placed with slot in the child and any children of the parent's component tag fill it. Named slots use slot ...
Boundaries should follow the business domain, not technical layers. Techniques: - Domain-Driven Design bounded contexts: each context has its own model and ubiquitous lan...
Vue 2.0 does not have native support for the Composition API, but you can use it via the official plugin: `@vue/composition-api`. Let's see the usage in step-by-step inst...
The **Composition API** in Vue 3 is a new way to organize and reuse logic in Vue components. It was introduced to address some limitations of the **Options API** (used in...
The composition API provides several benefits over the traditional Options API as listed below. 1. Better logic reuse and code organization: 2. Better typescript support:...
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.