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

Pagination? #19

Open
zaptrem opened this issue Apr 10, 2022 · 3 comments
Open

Pagination? #19

zaptrem opened this issue Apr 10, 2022 · 3 comments
Labels
question Further information is requested

Comments

@zaptrem
Copy link

zaptrem commented Apr 10, 2022

Hello, I'm interested in migrating to this from Gifted-Chat. How do you handle long chat histories? Do you just load every document whenever the chat is opened or do you implement some type of pagination? If so, does it work with live updates?

Thanks!

@zaptrem zaptrem added the question Further information is requested label Apr 10, 2022
@demchenkoalex
Copy link
Member

Hey @zaptrem - I believe gifted chat is a UI implementation only? we have 2 different projects, one is a chat UI and second one firebase implementation. Right now I am more focused on Flutter counterparts (I plan to update RNs chat UI to Flutters level soon) but firebase is more suitable for small or PoC projects and is not properly optimised to work with pagination as well.

@zaptrem
Copy link
Author

zaptrem commented Apr 12, 2022

Hey @zaptrem - I believe gifted chat is a UI implementation only? we have 2 different projects, one is a chat UI and second one firebase implementation. Right now I am more focused on Flutter counterparts (I plan to update RNs chat UI to Flutters level soon) but firebase is more suitable for small or PoC projects and is not properly optimised to work with pagination as well.

Thanks! Are there plans to add pagination to the Firestore implementation (or potentially switch to RTDB)? If not I'll just roll my own with your UI once it's ready.

Either way, thanks!

@demchenkoalex
Copy link
Member

Yeah, it will definitely be faster if you quickly migrate to RTDB yourself, cause you know, I have like 10 libraries to maintain and a full-time job, so it will not happen in the near future I suppose, only if I will have this feeling that I really want to do it, but it happens rarely :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants