]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: naming
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 9 Apr 2021 10:36:49 +0000 (12:36 +0200)
committerEduardo San Martin Morote <posva@users.noreply.github.com>
Fri, 9 Apr 2021 11:08:56 +0000 (13:08 +0200)
docs/core-concepts/actions.md
docs/core-concepts/getters.md
docs/core-concepts/state.md

index 99d3cc03a2a22b428146ce07a9179d8463167d50..131af0df0043b5010831f7d12a5b2eb2160cd65d 100644 (file)
@@ -74,7 +74,7 @@ export default {
 }
 ```
 
-## Usage with options API
+## Usage with the options API
 
 If you are not using the composition API, and you are using `computed`, `methods`, ..., you can use the `mapActions()` helper to map actions properties as methods in your component:
 
index 6ee811b88a6884d22619c7fb3712b9bb041cda00..8379df96ab4888da3e4b695dd87aa63a2642ff49 100644 (file)
@@ -94,7 +94,7 @@ export default {
 }
 ```
 
-## Options API
+## Usage with the options API
 
 You can use the same `mapState()` function used in the [previous section of state](./state.md#options-api) to map to getters:
 
index 8fceb128a95f896ea9b16f14ce70c418c2181ee1..3b457ca5501a329dc551349064e02828e7b0d231 100644 (file)
@@ -29,7 +29,7 @@ const store = useStore()
 store.counter++
 ```
 
-### Options API
+### Usage with the options API
 
 If you are not using the composition API, and you are using `computed`, `methods`, ..., you can use the `mapState()` helper to map state properties as readonly computed properties: