A
A
Anton Schultz2020-02-17 01:13:31
Vue.js
Anton Schultz, 2020-02-17 01:13:31

What task should I try to implement in order to understand the need for VUE in the project?

What is the point of filling content in this way via JS?
I'm trying to understand why vue or react is needed and I can't find the point.
Tell me some task where you can fully feel the convenience and indispensability VUE.

<div id="app">
  {{ message }}
</div>

var app = new Vue({
  el: '#app',
  data: {
    message: 'Привет, Vue!'
  }
})

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex, 2020-02-17
@MrAnderson1999

The feature of Vue is reactivity.
To get a feel for this, try to implement some kind of dynamic interface, in pure JS or at least in JQ. And then do the same on Vue.
Well, for example, the simplest calculator: two text fields in which you need to enter numbers. And nearby "on the fly" their sum is calculated. Without the need to click on some buttons and so on. To update the interface itself.
Or something more complicated, let's say some kind of step-by-step test with questions, answer options, showing progress, and displaying the result in points.

0
0xD34F, 2020-02-17
@0xD34F Vue.js

None.
If you don't understand why you need vue, then you don't need it. You can safely forget about its existence.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question