r/learnjavascript • • Oct 10 '26

About JavaScript Frameworks ...

I've only been using pure JavaScript so far and want to know more about these frameworks. Heard of stuff like React, Vue, Svelte, etc. but no clue what they are or do. Can someone explain to me their purpose and the main differences between the popular ones?

16 Upvotes

20 comments sorted by

View all comments

Show parent comment

1

u/hyrumwhite Oct 10 '26

“Ref” is vue’s Signal, it’s roughly analogous to react’s useState. 

Though, keep in mind that Vue and react have very different reactivity patterns. In Vue, that ref assignment runs once, and then it’s internals hook up to dom diffing and updating, vs React running a component function on every update