Comments (5)
Dom
reference.Immutability
. In factref.value = xxx
is very much a manifestation of immutability. Only for complex data types, the conversion is done internally usingreactive
, so it is also possible tosetter
trigger responsive.
from dmitripavlutin.com-comments.
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.
@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.
Dom reference.
Thanks for idea @zhenzhenChange. That's also an important diff to know.
from dmitripavlutin.com-comments.
thank pro !
from dmitripavlutin.com-comments.
Related Issues (20)
- react-usememo-hook/ HOT 12
- javascript-json-modules/ HOT 7
- javascript-import-meta/ HOT 3
- javascript-array-group/ HOT 16
- javascript-array-flatmap/ HOT 23
- interface-vs-implementation/ HOT 11
- vue-next-tick/ HOT 4
- props-destructure-vue-composition/ HOT 7
- environment-variables-javascript/ HOT 3
- ref-in-vue/ HOT 1
- typescript-function-type/ HOT 5
- vue-v-model-form-inputs/ HOT 2
- react-forwardref/ HOT 5
- javascript-enum/ HOT 20
- react-comments/ HOT 8
- typescript-record/ HOT 10
- screen-window-page-sizes/ HOT 3
- javascript-pure-function/ HOT 1
- Great article
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dmitripavlutin.com-comments.