Skip to content

Commit

Permalink
docs: Add missing word. (#1643)
Browse files Browse the repository at this point in the history
Makes the flow of reading nicer.
  • Loading branch information
Relequestual authored and ktsn committed Nov 11, 2019
1 parent d270338 commit ba2ff3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ You can also remove a dynamically registered module with `store.unregisterModule

It may be likely that you want to preserve the previous state when registering a new module, such as preserving state from a Server Side Rendered app. You can achieve this with `preserveState` option: `store.registerModule('a', module, { preserveState: true })`

When you set `preserveState: true`, the module is registered, actions, mutations and getters are added to the store, but the state not. It's assumed that your store state already contains state for that module and you don't want to overwrite it.
When you set `preserveState: true`, the module is registered, actions, mutations and getters are added to the store, but the state is not. It's assumed that your store state already contains state for that module and you don't want to overwrite it.

### Module Reuse

Expand Down

0 comments on commit ba2ff3a

Please sign in to comment.