Przeglądaj źródła

Update state.md (#142)

Ryan Dobbs 9 lat temu
rodzic
commit
1b8d6a89b5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      docs/en/state.md

+ 1 - 1
docs/en/state.md

@@ -143,7 +143,7 @@ export default {
 }
 ```
 
-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.
+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.
 
 > 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).