access Pinia variable dynamically

//can I do this??
const store = useStore()
const { ${my_dynamic_var } from storeToRefs(store);

can this be done
earlier today I also did
store[props.pinia] = my_new_var //this works

this one works
Was this page helpful?