Skip to content

Commit 1b8d6a8

Browse files
dobbsryanyyx990803
authored andcommitted
Update state.md (#142)
1 parent 5435e35 commit 1b8d6a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export default {
143143
}
144144
```
145145

146-
Because getters are pure, getters shared across multiple components are efficiently cached: when dependencies change, they only re-evaluate once for all components that uses them.
146+
Because getters are pure, getters shared across multiple components are efficiently cached: when dependencies change, they only re-evaluate once for all components that use them.
147147

148148
> Flux reference: Vuex getters can be roughly compared to [`mapStateToProps`](https://github.com/rackt/react-redux/blob/master/docs/api.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options) in Redux. However, because they leverage Vue's computed properties memoization under the hood, they are more efficient than `mapStateToProps`, and more similar to [reselect](https://github.com/reactjs/reselect).
149149

0 commit comments

Comments
 (0)