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

feat: vue pagination controlled example #4705

Conversation

radusuciu
Copy link
Contributor

@radusuciu radusuciu commented Feb 11, 2023

Thanks for supporting Vue! I wanted to use this in a project but didn't find much material for Vue past the basic examples, so I thought I'd take a crack at contributing an example to start.

Things I'd like to draw your attention to:

  1. I'm not sure if setPagination is correctly implemented
  2. The "Go to page" input's value is tracked with a separate ref. This is slightly different from the react implementation
  3. I'm using https://jsonplaceholder.typicode.com/posts for the API call. I can simulate data using faker if that is preferred

You can also run this example on CodeSandbox: https://codesandbox.io/p/sandbox/musing-https-uvewmd

@vercel
Copy link

vercel bot commented Feb 11, 2023

@radusuciu is attempting to deploy a commit to the Tanstack Team on Vercel.

A member of the Team first needs to authorize it.

@KevinVandy
Copy link
Member

modified this PR into #4775

@KevinVandy KevinVandy closed this Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants