]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore: changelog note on getters change
authorEduardo San Martin Morote <posva13@gmail.com>
Sun, 2 May 2021 18:27:56 +0000 (20:27 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Sun, 2 May 2021 18:27:56 +0000 (20:27 +0200)
CHANGELOG.md

index 9daa4f459c34650d66f844209ed43362891287db..2d881361c539b662b2ee8b9e33b1cae45d5681ed 100644 (file)
 
 - `state` properties no longer need to be accessed through `store.state`
 - `getters` no longer receive parameters, access the store instance via `this`:
-  directly call `this.myState` to read state and other getters.
+  directly call `this.myState` to read state and other getters. **Update 2021-04-02**: `getters` receive the state again as the first parameter