DEV Community

Discussion on: Do we really need Flux, Vuex, Pinia, MobX and all the other Statemanagement Frameworks?

Collapse
 
decker67 profile image
decker

I do not want to write my one, but simply use that what is already given in the frontend framework instead of adding another player to the game.

In SolidJS you have Stores in VueJS you have reacitve (V3) or observable (V2) so why using another thing, that makes it more difficult to understand.

The authors auf Pinia, the new kid on the block for VUE, notices themselfes that you already have a statemanagement in VueJS.

Another thing is I often see code that simply uses state management for every little thing, but there is only one position in the code where the state is used. So no need to have statemanagement. It is simply not shared.

It seems to me that many developers do things simply because the have seen somebody else done it in a sample or tutorial. Its this the next step from copying code from stackoverflow to do the work that has to be done?