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

can we use this in react native ? #33

Open
videni opened this issue Oct 18, 2018 · 1 comment
Open

can we use this in react native ? #33

videni opened this issue Oct 18, 2018 · 1 comment

Comments

@videni
Copy link

videni commented Oct 18, 2018

I need a redux paginator to handle pagination , can we use this in react native?

@sslotsky
Copy link
Owner

Hmm, great question! The short answer is: probably, but I've never tried it!

Here's the longer answer.

  1. It probably works if you go the custom component route, although...
  2. I actually have a newer version of this lib that works better in at least a couple ways, but...
  3. the documentation was never fully migrated for the new library, and...
  4. I have not kept up with the latest versions of redux or other peer dependencies because I don't really use or maintain this lib anymore.

My advice: if the library doesn't work for you out of the box, copy the parts you like and roll your own. It's implemented using a higher order reducer pattern and the most difficult part to get right (for me anyway) is displaying the right page numbers in between the Previous and Next links. I'm even pretty sure there's a mistake in that code here, which I've fixed in solutions that I've implemented since then.

Thanks a lot for your interest! Feel free to continue asking questions in the issues here and I will offer further advice if I can.

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

No branches or pull requests

2 participants