Sign in
Log inSign up
Goutom Kumer Dash Ratul

31 reads

3 comments

Colin Johnsun
Colin Johnsun
Mar 7, 2024

I thought your article was good and your style of writing is good as well but I think you should write a follow up post on Pinia instead and tell your readers that this is the official and recommended approach for state management in Vue.

I would prefer supporting an application that is already using Pinia rather than spending time migrating code from Vuex to Pinia.

It is better to teach them the correct approach rather then letting them find out by other means that what they have learnt from your article is out of date with current practices.

1
1 reply
Goutom Kumer Dash Ratul
Goutom Kumer Dash Ratul
Author
Jun 6, 2024

Actually I wrote this article bit earlier but posted here bit late. But thanks for your comments and suggestions. I will write a followup article on Pinia.

Regardless of that, a lot of current application is using Vuex. As an example, I am also using Vuex in some projects as they were there already, and I had to learn Vuex as I was new to store management in Vue.

Colin Johnsun
Colin Johnsun
Mar 7, 2024

I know that Vuex is still supported in Vue in 2024 but the official and recommended library for state management is now Pinia.

Knowing Vuex is important if I need to support existing application that is still using Vuex but I were to start a new project and required state management then I would be using Pinia.

I think your article is good in that it introduces a feature to a developer that is learning Vue but I think it is a mistake to teach or show them a feature that has been deprecated without at least telling this to them as well as mentioning what is the current preferred library.