Skip to content

feat: implement pagination component#1491

Open
linska wants to merge 4 commits into
mate-academy:masterfrom
linska:dev
Open

feat: implement pagination component#1491
linska wants to merge 4 commits into
mate-academy:masterfrom
linska:dev

Conversation

@linska
Copy link
Copy Markdown

@linska linska commented May 5, 2026

onSelectChange: (perPage: number) => void;
}

const SelectOptions: number[] = [3, 5, 10, 20];
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

best practice to name static constants using UPPERCASE + snake_case.

e.g. SELECT_OPTIONS

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a lot of magic numbers in your code. it's better to move these numbers into well-named constants

@linska linska requested a review from 781calmstate May 14, 2026 10:26
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.

3 participants