"Dynamic" Store Properties

Published 3 weeks ago by jgravois

is there a way to create “dynamic properties” in a Vuex store? I have a task counter that I need to save state with across many components as well as many devices using pusher … there could be 1 or 100 active timers … so when I start a timers, I need something like timer_task20087 in the store … I don’t know how to programmatically add a property to the store.

topvillas

Use an array.

Please sign in or create an account to participate in this conversation.