About 52 results
Open links in new tab
  1. How to get $refs using Composition API in Vue3? - Stack Overflow

    Feb 12, 2022 · In my code I use Template Refs: ref is a special attribute, that allows us to obtain a direct reference to a specific DOM element or child component instance after it's mounted. If I use Options …

  2. What is the difference between ref, toRef and toRefs?

    Mar 11, 2021 · Vue 3 ref A ref is a mechanism for reactivity in Vue 3. The idea is to wrap a non-object variable inside a reactive object: Takes an inner value and returns a reactive and mutable ref object. …

  3. vue.js - `ref ()` vs `reactive ()` in Vue 3? - Stack Overflow

    Apr 27, 2020 · I checked a few guides for Vue 3 and noticed that in some examples they used reactive(), while in others they created the same thing with ref(). They seem to behave very similarly, but which …

  4. What is the use of "ref" for reference-type variables in C#?

    a great article ref out ref Reference parameters don't pass the values of the variables used in the function member invocation - they use the variables themselves. Rather than creating a new storage …

  5. React 19 "ref as prop" and TypeScript - Stack Overflow

    Dec 22, 2024 · Ref doesn't have .current so you can't use the reference in the component (you can only pass it as a callback down to a primitive). Most of the time you don't need it because you only use …

  6. What's the difference between the 'ref' and 'out' keywords?

    Dec 23, 2008 · ref means that the value in the ref parameter is already set, the method can read and modify it. Using the ref keyword is the same as saying that the caller is responsible for initializing the …

  7. c# - Чем out отличается от ref? - Stack Overflow на русском

    На уровне CLR для out - и ref -параметров используется один и тот же механизм, но это незначительная техническая подробность. Разница в семантике.

  8. How to use "$ref" in json schema properly - Stack Overflow

    May 17, 2020 · How to use "$ref" in json schema properly Asked 5 years, 11 months ago Modified 2 years, 8 months ago Viewed 14k times

  9. Best practice: ref parameter or return value? - Stack Overflow

    Nov 21, 2011 · The version with ref tells me that I can start out with a list, and your method will modify the list I sent in, or even change it with another one. If that is your intention, do that. But if the method …

  10. Why use the 'ref' keyword when passing an object?

    By using the ref keyword with reference types you are effectively passing a reference to the reference. In many ways it's the same as using the out keyword but with the minor difference that there's no …