Skip to content

Commit 1cfbca4

Browse files
authored
fix, minor grammar. some comma (#582)
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*.
1 parent bf533fd commit 1cfbca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/state-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,6 @@ const appB = Vue.createApp({
116116
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.
117117
:::
118118

119-
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.
119+
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.
120120

121121
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!

0 commit comments

Comments
 (0)