Skip to content

Commit 4fb58ab

Browse files
committed
📝 Update docs about firebaseMutations
Signed-off-by: Eduardo San Martin Morote <[email protected]>
1 parent 65f1941 commit 4fb58ab

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/vuexfire/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ support [here](http://kangax.github.io/compat-table/es6/#test-WeakMap)
9696

9797
## How does it work?
9898

99-
VuexFire uses a global mutations `vuexfire/MUTATION` to call the actual
100-
mutations to modify objects and arrays. It listen for updates to your firebase
101-
database and commit mutations to sync your state. Thanks to the action enhancer
102-
`firebaseAction`, it gets access to the local `state` and `commit` so it works
103-
with modules too :+1:
99+
VuexFire uses multiple global mutations prefixed by `vuexfire/` to call the
100+
actual mutations to modify objects and arrays. It listen for updates to your
101+
firebase database and commit mutations to sync your state. Thanks to the action
102+
enhancer `firebaseAction`, it gets access to the local `state` and `commit` so
103+
it works with modules too :+1:
104104

105105
## Examples
106106

@@ -110,8 +110,8 @@ You can checkout the examples by opening the html files in your browser, or chec
110110

111111
### firebaseMutations
112112

113-
This objects contain the global mutation `vuexfire/MUTATION`, and must be added
114-
in the root Store mutations object
113+
This objects contains VuexFire internal mutations. They are all prefixed by
114+
`vuexfire/`. This object must be added in the root Store mutations object.
115115

116116
### bindFirebaseRef(key, ref[, options])
117117

0 commit comments

Comments
 (0)