Git Product home page Git Product logo

Comments (5)

zhenzhenChange avatar zhenzhenChange commented on July 23, 2024 2
  1. Dom reference.
  2. Immutability. In fact ref.value = xxx is very much a manifestation of immutability. Only for complex data types, the conversion is done internally using reactive, so it is also possible to setter trigger responsive.

from dmitripavlutin.com-comments.

EvgenyWas avatar EvgenyWas commented on July 23, 2024 1

Hello Dmitri,

Thank you for your work and for this perfect blog! I’ve read this article carefully and I have one issue.
I think there isn’t one of the most important difference of usage between reactive() and ref(). It’s an opportunity to reassign a value as it’s possible with ref(), but not with ‘reactive()’.

Thanks for your time. What do you think?

from dmitripavlutin.com-comments.

panzerdp avatar panzerdp commented on July 23, 2024 1

@EvgenyWas Hi Evgeny!

I agree, it's important to mention the possibility of reassigning a value in case of ref() but not reactive(). I'll update the post with your idea!

Thanks a lot.

from dmitripavlutin.com-comments.

panzerdp avatar panzerdp commented on July 23, 2024

Dom reference.

Thanks for idea @zhenzhenChange. That's also an important diff to know.

from dmitripavlutin.com-comments.

ksvanquy avatar ksvanquy commented on July 23, 2024

thank pro !

from dmitripavlutin.com-comments.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.