About 13,300,000 results
Open links in new tab
  1. 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 …

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

    Mar 11, 2021 · I have just started working with Vue 3 and the Composition API. What are the differences between ref, toRef and toRefs?

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

    Without ref, the reference is passed by value, and this doesn't happen. C# also has the 'out' keyword which is a lot like ref, except that with 'ref', arguments must be initialized before …

  4. When to use in vs ref vs out - Stack Overflow

    out and ref parameters are marshaled differently when dealing with interop code Also, as an aside, it's important to note that while reference types and value types differ in the nature of …

  5. 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 …

  6. What is a Ref in Git? - Stack Overflow

    Oct 26, 2017 · A name that begins with refs/ (e.g. refs/heads/master) that points to an object name or another ref ... Note that branch names, like master, are simply refs (references) that …

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

    May 17, 2020 · The thing is that $ref doesn't work everywhere, it works only in places where a schema is expected. Only schema can be substituted via $ref, not "any piece of JSON".

  8. Swagger schema properties ignored when using $ref - why?

    Nov 10, 2015 · I'm trying to build a Swagger model for a time interval, using a simple string to store the time (I know that there is also datetime): definitions: Time: type: string description: …

  9. reactjs - Is it safe to use ref.current as useEffect's dependency …

    Mar 1, 2020 · I'm aware that ref is a mutable container so it should not be listed in useEffect's dependencies, however ref.current could be a changing value. When a ref is used to store a …

  10. Vue 3 composition API - ref() vs reactive() for arrays

    Dec 18, 2020 · The guidance in Vue 3 documentation and in folk literature is that ref() is for scalars and primitives, while reactive() is for Objects. However, in JavaScript, arrays are a …