From 55387df96bd93225c4db94341d701ef94d149b0a Mon Sep 17 00:00:00 2001 From: Bambalam Date: Fri, 2 Oct 2020 17:50:59 +0200 Subject: [PATCH] fix, minor grammar. some comma The first comma in the senctence seems oddly placed. This makes the sentence hard to understand at first. For me at least. I think that first comma should not be between *store* and *but* but between *convention* and *where*. --- src/guide/state-management.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/state-management.md b/src/guide/state-management.md index 35fc5be1b4..569c92d305 100644 --- a/src/guide/state-management.md +++ b/src/guide/state-management.md @@ -116,6 +116,6 @@ const appB = Vue.createApp({ You should never replace the original state object in your actions - the components and the store need to share reference to the same object in order for mutations to be observed. ::: -As we continue developing the convention where components are never allowed to directly mutate state that belongs to a store, but should instead dispatch events that notify the store to perform actions, we eventually arrive at the [Flux](https://facebook.github.io/flux/) architecture. The benefit of this convention is we can record all state mutations happening to the store and implement advanced debugging helpers such as mutation logs, snapshots, and history re-rolls / time travel. +As we continue developing the convention, where components are never allowed to directly mutate state that belongs to a store but should instead dispatch events that notify the store to perform actions, we eventually arrive at the [Flux](https://facebook.github.io/flux/) architecture. The benefit of this convention is we can record all state mutations happening to the store and implement advanced debugging helpers such as mutation logs, snapshots, and history re-rolls / time travel. This brings us full circle back to [Vuex](https://github.com/vuejs/vuex), so if you've read this far it's probably time to try it out!