]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
build: fix changelog [skip ci]
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 25 Sep 2020 09:21:47 +0000 (11:21 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 25 Sep 2020 09:21:47 +0000 (11:21 +0200)
CHANGELOG.md
README.md

index 8c6bb113590387df26f5800a9faaa4b7be51ddca..1068312c9061f1ff528cf7262ad38e28e380326d 100644 (file)
@@ -13,6 +13,6 @@
 
 ### BREAKING CHANGES
 
-- there is no longer a `state` property on the store,
-  you need to directly access it. `getters` no longer receive parameters,
+- `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.
index a8997bfbd917d39e4644958424e366d36cd13e1a..621fa563c5846f79dc7ec698889b8606b971d445 100644 (file)
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
 
 đźŤŤAutomatically Typed, Modular and lightweight (but **Experimental**) Store for Vue 3.x based on the composition api with devtools support
 
-## đꑉ [Demo on CodeSandbox](https://8jwbf.sse.codesandbox.io)
+## đꑉ [Demo on CodeSandbox](https://j4qzw.csb.app/)
 
 âš ď¸Źâš ď¸Źâš ď¸Ź This project is experimental, it's an exploration of what a _Store_ could be like using [the composition api](https://vue-composition-api-rfc.netlify.com). It works both for Vue 2.x and Vue 3.x and you are currently on the branch that supports Vue 3.x. [Go here for the Vue 2.x compatible version](https://github.com/posva/pinia/tree/v1).
 
@@ -57,10 +57,9 @@ A few notes about the project and possible questions:
 
 ## Roadmap / Ideas
 
-- [ ] Should the state be merged at the same level as actions and getters?
+- [x] Should the state be merged at the same level as actions and getters?
 - [ ] Allow grouping stores together into a similar structure and allow defining new getters (`pinia`)
 - [ ] Getter with params that act like computed properties (@ktsn)
-- [ ] Passing all getters to a getter (need Typing support)
 
 ## Installation