Skip to content

Commit 74cf00a

Browse files
committed
init
1 parent f315c95 commit 74cf00a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/en/essentials/usage/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ function App() {
367367
}
368368
```
369369

370-
- Deep unwrapping does not support expressions
370+
- Deep unpacking is not supported
371371

372372
```jsx
373373
const obj = signal({
@@ -378,7 +378,7 @@ function App() {
378378
},
379379
});
380380

381-
<p>{obj.obj1.age}</p> // Support
381+
<p>{obj.name}</p> // Support
382382

383-
<div>{obj.obj1.show ? <p>Mettle.js</p> : <null></null>}</div> // Not supported
383+
<p>{obj.obj1.age}</p> // Not supported
384384
```

doc/zh/essentials/usage/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ function App() {
367367
}
368368
```
369369

370-
- 深层解包不支持表达式
370+
- 深层解包不支持
371371

372372
```jsx
373373
const obj = signal({
@@ -378,7 +378,7 @@ function App() {
378378
},
379379
});
380380

381-
<p>{obj.obj1.age}</p> // Support
381+
<p>{obj.name}</p> // Support
382382

383-
<div>{obj.obj1.show ? <p>Mettle.js</p> : <null></null>}</div> // Not supported
383+
<p>{obj.obj1.age}</p> // Not supported
384384
```

0 commit comments

Comments
 (0)