Skip to content

Add API to implement pagination #96

Open

Description

@ai
useFilter(Task, { projectId }, { pagination: { page: 1, perPage: 50 } });

Just flexible API on first iteration. Let’s users will implement it.

Activity

  1. ai commented on Oct 20, 2021

    @ai
    MemberAuthor

    In initial idea of Logux API I had query concept like:

    https://gist.github.com/ai/dfea0fcbfe8fba1b1e11180a1e5d16e3#pagination

    useQuery(TaskWithPagination, { projectId, page, perPage })

    In contrast with useFilter, queries doesn’t work offline and rely on developer’s implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions