Skip to content

Commit

Permalink
doc: modify md
Browse files Browse the repository at this point in the history
  • Loading branch information
gongph committed Dec 8, 2024
1 parent f07ab47 commit bada0ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/upgrading/v6.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function shouldRevalidate({ actionStatus, defaultShouldRevalidate }) {

```

### 弃用说明
## 弃用说明

`json``defer` 方法已被弃用,建议改为返回原始对象。

Expand All @@ -308,7 +308,7 @@ async function loader() {
如果你之前使用 `json` 方法将数据序列化为JSON格式,那么现在可以改用原生的 `Response.json()` 方法来替代。
### 更新到 v7
## 更新到 v7
既然你的应用程序已经完成了上述相关更新(与前文提到的更新内容保持同步),那么理论上你就可以毫无问题地直接更新到版本 7 了。
Expand Down

0 comments on commit bada0ab

Please sign in to comment.