Skip to content

Dual callbacks on pagePerSize dropdown change #1587

Open
@prajapati-parth

Description

@prajapati-parth

Hello @AllenFang

For some weird reason I'm doing a fetch request on onPageChange and sizePerPageListChange both.

I've encountered a scenario where sizePerPageListChange event also triggers onPageChange event. This is very similar to the example here(section: Pagination Hook)

Can we avoid the table doing multiple events like these?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions