R
R
Roman2019-03-03 19:46:21
JavaScript
Roman, 2019-03-03 19:46:21

Need to transfer part of the project to Ajax - choose jQuery or Vue?

Hello.

It is planned to transfer part of the project to Ajax (forms and tables).

I think it's okay to do it on jQuery, but more and more often I see references to Vue

On the one hand, it's interesting to try, on the other hand, it's lazy and, as it were, there is no special motivation

. What do you think - if not SPA, then it's better to choose jQuery as usual?

Ps I will be glad to links to suitable tutorials on how to make Ajax for a form on Vue - such that even I understand))

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Proskurin, 2019-03-03
@Vlad_IT

Well, if your site is already using jQuery, then Vue is definitely worth considering. If the knowledge of JS is normal, then Vue will get used to it in a couple of evenings. Vue and jQuery compressed minified file sizes are plus or minus the same.

D
Draek Nelson, 2019-03-03
@daren93

If there is a need only for ajax, then some strange question.
That is, if you like jqery, then use $.ajax, if not, then I think axios or the fetch function built into the browser will be enough.

A
Alex, 2019-03-03
@Kozack

What exactly will you do with the forms? Will you have any complex modifications to the house? Is there a need for a reactive framework? If not, if you just want to send data to the server, then use the browser's built-in fetch()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question