Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pagination.zh-CN.mdx #556

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/docs/pagination.zh-CN.mdx
Original file line number Diff line number Diff line change
@@ -152,7 +152,7 @@ function App () {
}
```

此外,如果分页的API是 **基于游标(cursor)**的,那么这个解决方案也不适用。因为每个页面都需要前一页的数据,它们不是隔离的。
此外,如果分页的API是 ** 基于游标(cursor)**的,那么这个解决方案也不适用。因为每个页面都需要前一页的数据,它们不是隔离的。

这意味着我们需要一个更高级的解决方案来解决这个问题,因此,我们引入了一个新的 `useSWRInfinite` Hook。。