When considering sending a data variable to another component, is it more efficient to send it via query using a router or save the data in-store? Which method would be more optimal?
router.replace({
name: 'routerName',
query: {
param: param to send,
},
})
OR
store.dispatch('storeName', paramSave)
and retrieve it from the store