Skip to content

Refactor to RTK Query #86

Description

@Moebytes

Our pagination/infinite scroll code (a hook named usePaginatedScroll) is still a bit buggy. I think that rather than continuing to maintain this, we should just use RTK Query like in the mobile app. There is little point to spending so much time on problems other people already solved.

One possible annoyance is that RTK Query always caches the result so we need to make sure we invalidate it in the correct places. If we somehow manage this large refactor any bugs relating to searching and pagination should no longer be a concern.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorImprovements to the code organization

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions