DEV Community

Discussion on: How does Reactivity work in Vue.js?

Collapse
 
yodeco profile image
yodeco

Hey Aman, thanks a lot for your post! Couple of thing to know about modern front-end, just for fun:

  1. Navigate to your final fiddle at jsfiddle.net/nerdycap007/kghzdoax/... JS tab;
  2. Remove everything but let renderFunction = () => { document.getElementById("message").innerHTML = data.message; }
  3. Run then fiddle :)

We should always consider how big our project is before deciding on React/Angula/Vue or just vanilla JS.

Collapse
 
nerdycap007 profile image
Aman Sharma • Edited

Can you elaborate, what you are trying to say?

Collapse
 
yodeco profile image
yodeco

That reactivity is a real matter for huge projects, and for smaller ones we should double think before consideration.

Thanks for the article, it explains the flow really good.

Thread Thread
 
nerdycap007 profile image
Aman Sharma

Ohh yeah totally,
If your are just making a single and simple web page, for some reason, then there is no reason to pick any kind of a framework for that.. Frameworks come into place only when we want things like, scalability, maintainability, etc.