• # Pas compris ce qu'étais le pattern flux/Vuex

    Posté par . En réponse au journal 8 mois avec Javascript (ES6) et vue.js : mon retour d'expérience du développement front en 2018. Évalué à 3.

    J'ai du mal comprendre un truc,j'ai cliqué sur le lien qui amène vers https://vuex.vuejs.org/ mais j'ai pas compris ce que ça change par rapport à un modèle MVC classique.

    It is a self-contained app with the following parts:
    The state, which is the source of truth that drives our app;
    The view, which is just a declarative mapping of the state;
    The actions, which are the possible ways the state could change in reaction to user inputs from the view.
    State c'est le modèle, view la vue et action le contrôleur. Tu vantes la programmation réactives par rapport à la programmation classique(MVC) mais au finale tu y rajoute une couche qui fais la même chose non ?