Lines Matching +full:per +full:- +full:module
15 └── FeatureName # feature module
17 ├── AdditionalFeatureStore.js # additional features per store
18 ├── AnotherFeatureStore.js # additional features per store
24 bloated. Each module contains its own state, mutations, actions, and getters.
27 #### Module Anatomy
29 - **State:** You cannot directly mutate the store's state.
31 - **Getters:** Getters are used to compute derived state based on store state.
33 - **Mutations:** The only way to mutate the state is by committing mutations,
36 - **Actions:** Asynchronous logic should be encapsulated in, and can be composed
64 A store module will look like this.
72 // based on the path the module is registered at
78 // namespace -> getters['featureNameStore/getExampleValue']
82 // namespace -> commit('featureNameStore/setExampleValue)
86 // namespace -> dispatch('featureNameStore/getExampleValue')
95 // namespace -> ('featureNameStore/saveExampleValue', payload)