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

T11: Products Pagination | infinite scrolling #23

Open
5 tasks done
aleyna-yildizli opened this issue Mar 18, 2024 · 1 comment
Open
5 tasks done

T11: Products Pagination | infinite scrolling #23

aleyna-yildizli opened this issue Mar 18, 2024 · 1 comment
Assignees

Comments

@aleyna-yildizli
Copy link
Owner

aleyna-yildizli commented Mar 18, 2024

  • You can use pagination or infinite scroll. Decision is totally up to you.
  • query parameters:
    • limit?: optional. default: 25. you can specify product count to be fetched at once.
    • offset?: optional. default: 0. product count to be passed. if you fetch 50 products at first, and secondly you want to fetch products from 50 to 100, you need to set offset 50.
  • By using these two parameters, you can create pagination or infinite scroll

Sample react pagination and infinite scroll components, you can use different libraries!
- React Infinite Scroll Component
- React Pagination

@aleyna-yildizli aleyna-yildizli self-assigned this Mar 18, 2024
@aleyna-yildizli aleyna-yildizli converted this from a draft issue Mar 18, 2024
@aleyna-yildizli aleyna-yildizli moved this from Sprint Backlog to In progress in @aleyna-yildizli's e-commerce project Mar 18, 2024
@aleyna-yildizli aleyna-yildizli moved this from In progress to In review in @aleyna-yildizli's e-commerce project Mar 20, 2024
@erhanfirat
Copy link
Collaborator

Pagination da sayfa geçişinde bir önceki sayfanın datası ekstradan fetch ediliyor.

@erhanfirat erhanfirat moved this from In review to In progress in @aleyna-yildizli's e-commerce project Mar 22, 2024
@aleyna-yildizli aleyna-yildizli moved this from In progress to In review in @aleyna-yildizli's e-commerce project Mar 29, 2024
@erhanfirat erhanfirat moved this from In review to Done in @aleyna-yildizli's e-commerce project Mar 29, 2024
@aleyna-yildizli aleyna-yildizli moved this from Done to Project Backlog in @aleyna-yildizli's e-commerce project Jul 21, 2024
@aleyna-yildizli aleyna-yildizli moved this from Project Backlog to Sprint Backlog in @aleyna-yildizli's e-commerce project Jul 21, 2024
@aleyna-yildizli aleyna-yildizli moved this from Sprint Backlog to In progress in @aleyna-yildizli's e-commerce project Jul 21, 2024
@aleyna-yildizli aleyna-yildizli moved this from In progress to In review in @aleyna-yildizli's e-commerce project Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants