Skip to content

Commit

Permalink
Merge pull request #13 from Yoonit-Labs/development
Browse files Browse the repository at this point in the history
fix/readme-doc
  • Loading branch information
gabrielrizzo authored Sep 6, 2021
2 parents fccc699 + 27cc0f0 commit d73b25c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ Ie: PerseService.get('user/personalData')
- get('module/getterName') => ({ store, rootStore }): Retrieve data from store state. `store` key returns data from module, and if there is no module
returns all data. `rootStore` returns all data from store, only available when store is modularized.

- mix('module/mixerName') => (state, payload): Mutate store data. Returns all data from store, where you can mutate it (it's the impure store part).
It's ESSENTIAL to return data, to not break store.
- mix('module/mixerName') => (state, { action, payload }): Mutate store data. Returns all data from store, where you can mutate it (it's the impure store part).


## Persist Param
Expand Down

0 comments on commit d73b25c

Please sign in to comment.