Answer the question
In order to leave comments, you need to log in
How to properly interact with the API through JS?
In the backbone I met an interesting way of "modeling". Now I'm trying VUE - there is nothing about requests in it. Tried AXIOS - there only requests to send/receive. Searched, found nothing.
How all the same it is correct to communicate with the server from JS? Possibly of the Ekbon type
model.get
model.set
model.save
model.destroy
Answer the question
In order to leave comments, you need to log in
It doesn't work that way in today's world.
https://github.com/vuejs/vuex
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question