]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: readme
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 19 Oct 2020 07:29:23 +0000 (09:29 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 19 Oct 2020 07:30:47 +0000 (09:30 +0200)
README.md

index 2bc1642228fad39d37681bb7a212e398cb02753a..ab85d2a02a37129e0a16f5a3a8053c69c0ae0949 100644 (file)
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
 >
 > _Piรฑa_ is also an invalid package name... that's why it has to be _pinia_ which sounds very similar
 
-๐ŸAutomatically Typed, Modular and lightweight (but **Experimental**) Store for Vue 3.x based on the composition api with devtools support
+๐Ÿ Automatically Typed, Modular and lightweight (but **Experimental**) Store for Vue 3.x based on the composition api with devtools support
 
 ## ๐Ÿ‘‰ [Demo on CodeSandbox](https://j4qzw.csb.app/)
 
 
 What I want is to inspire others to think about ways to improve Vuex and come up with something that works very well with the composition api. Ideally it could also be used without it.
 
-There are the core principles that I try to achieve with this experiment:
+These are the core principles that I try to achieve with this experiment:
 
+- Autocompletion: even if you write your code in JavaScript!
 - Flat modular structure ๐Ÿ No nesting, only stores, compose them as needed
 - Light layer on top of Vue ๐Ÿ’จ keep it very lightweight
-- Only `state`, `getters`
-- No more verbose mutations, ๐Ÿ‘ `patch` is _the mutation_
-- Actions are like _methods_ โš—๏ธ Group your business there
+- Only `state`, `getters` and `actions`
+- No more verbose mutations, ๐Ÿ‘ `patch` is _**the** mutation_
+- Actions are like _methods_ โš—๏ธ Group your business logic there
 - Import what you need, let webpack code split ๐Ÿ“ฆ No need for dynamically registered modules
 - SSR support โš™๏ธ
 - DevTools support ๐Ÿ’ป Which is crucial to make this enjoyable