Confused about usePagination's count #3443
Answered
by
segunadebayo
quangnmwork
asked this question in
Q&A
-
I am currently implementing async action for Pagination Here is my current code.
Story :
The problem is even when I want to update the count it seems like it can't be updated. Am I doing something wrong? Screen.Recording.2025-04-11.at.14.23.02.mov |
Beta Was this translation helpful? Give feedback.
Answered by
segunadebayo
Apr 11, 2025
Replies: 1 comment
-
This must be an older version of Ark UI. The count prop is readonly and To programmatically control the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
segunadebayo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This must be an older version of Ark UI. The count prop is readonly and
.setPage(...)
was removed in v5.To programmatically control the
count
, create a local state and pass that to theusePagination
hook.