Skip to content

Commit 9f057d2

Browse files
authored
fix: missing \ before second star (vuejs#2405)
There is few situation where it miss the `\` symbol before the second star
1 parent e7561df commit 9f057d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/guide/essentials/reactivity-fundamentals.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ When you access `this.someObject` after assigning it, the value is a reactive pr
6767

6868
<div class="composition-api">
6969

70-
## Declaring Reactive State \** {#declaring-reactive-state-1}
70+
## Declaring Reactive State \*\* {#declaring-reactive-state-1}
7171

72-
### `ref()` \** {#ref}
72+
### `ref()` \*\* {#ref}
7373

7474
In Composition API, the recommended way to declare reactive state is using the [`ref()`](/api/reactivity-core#ref) function:
7575

@@ -372,7 +372,7 @@ export default {
372372

373373
<div class="composition-api">
374374

375-
## `reactive()` \** {#reactive}
375+
## `reactive()` \*\* {#reactive}
376376

377377
There is another way to declare reactive state, with the `reactive()` API. Unlike a ref which wraps the inner value in a special object, `reactive()` makes an object itself reactive:
378378

@@ -496,7 +496,7 @@ console.log(count.value) // 1
496496

497497
Ref unwrapping only happens when nested inside a deep reactive object. It does not apply when it is accessed as a property of a [shallow reactive object](/api/reactivity-advanced#shallowreactive).
498498

499-
### Caveat in Arrays and Collections \** {#caveat-in-arrays-and-collections}
499+
### Caveat in Arrays and Collections \*\* {#caveat-in-arrays-and-collections}
500500

501501
Unlike reactive objects, there is **no** unwrapping performed when the ref is accessed as an element of a reactive array or a native collection type like `Map`:
502502

0 commit comments

Comments
 (0)