Skip to content

Org page seems to try to load all packages despite pagination? #1946

@serhalp

Description

@serhalp

Describe the bug

Try loading https://main.npmx.dev/org/types (make sure you're in infinite scroll mode) and watch your network tab. It first takes about a minute or longer for an initial request and then fetches a gazillion packages:

npmx.org.packages.loading.mp4

I'm not sure if this a regression or this was already this way, but obviously we shouldn't be trying to load all the data here.

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    p2Priority 2 bug (medium)perfnpmx.dev app performance

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions