That's all

Nice. You have two solutions for using Vuex with the Composition API.

At the time of writing, Vue 3 hasn't officially been released, and Vuex may add support for this natively. I can't promise there won't be better solutions by the time you read this, but I doubt much will change.