DEV Community

Discussion on: Manipulating data object of the Vuejs component through JQuery events

Collapse
 
michaelphipps profile image
Info Comment hidden by post author - thread only visible in this permalink
Phippsy

Would Vuex solve this problem without needing jQuery?

Check out this section on state management from the Vue.js manual

(I don't actually know, I don't use vue.js. I work with ractive.js)

Collapse
 
faisalshaikh8433 profile image
Info Comment hidden by post author - thread only visible in this permalink
Faisal Shaikh

I need jquery because I have implemented vuejs for replacing my wizard's step 2 everything else in my project is in jquery only. To use Vuex I need to move the whole wizard in vuejs so that vuex store data for all the steps. But still, Vuex will be overkill for handling such small data. Manipulating root components data is feasible for such small use cases.

Some comments have been hidden by the post's author - find out more