Answer the question
In order to leave comments, you need to log in
Vue instead of jquery on the example of a cinema hall?
I'm not familiar with vue, I'm a little familiar with jquery
Let's say we're given a task with choosing seats in a cinema hall (theater). The scheme of the hall is given and it is necessary to form the final amount based on the selected seats.
On jquery, I would put click handlers and inside them I would change all the necessary objects and blocks manually. But that's a lot of code and chances to get it wrong.
Can vue give you an advantage at the expense of reactivity?
How to implement the correct solution to this problem? After all, there will also have to put click handlers.
Answer the question
In order to leave comments, you need to log in
If I were you, I would look at how it was done on the cashier:
1. Select an event
2. Select a hall (part of the hall - parterre, balcony)
3. Ajax loads xml - 1Mb in weight (this is about 1500 seats)
4. The hall scheme is drawn with polygon elements .
HZ, how is VUE much better than JIKVERI
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question