Skip to content

Commit 2aff4a0

Browse files
lefhtskirtles-code
andauthored
missing pronoun (vuejs#2061)
* missing pronoun * Update src/guide/built-ins/keep-alive.md Co-authored-by: skirtle <[email protected]> Co-authored-by: skirtle <[email protected]>
1 parent 21eb384 commit 2aff4a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/built-ins/keep-alive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ In the Component Basics chapter, we introduced the syntax for [Dynamic Component
1414
<component :is="activeComponent" />
1515
```
1616

17-
By default, an active component instance will be unmounted when switched away from. This will cause any changed state it holds to be lost. When this component is displayed again, a new instance will be created with only the initial state.
17+
By default, an active component instance will be unmounted when switching away from it. This will cause any changed state it holds to be lost. When this component is displayed again, a new instance will be created with only the initial state.
1818

1919
In the example below, we have two stateful components - A contains a counter, while B contains a message synced with an input via `v-model`. Try updating the state of one of them, switch away, and then switch back to it:
2020

0 commit comments

Comments
 (0)