8000 Cannot show more than 100 replies to a single comment · Issue #32 · giscus/giscus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cannot show more than 100 replies to a single comment #32
Open
@laymonage

Description

@laymonage

We useSWRInfinite to implement cursor-based pagination. However, we need nested pagination in order to show more than 100 replies (the limit) to a comment. I haven't found an "easy" way to implement it with SWR. The key is to handle SWR key (heh) elegantly so that it can keep track of the pages correctly.

Thus, we might need to evaluate other data-fetching libraries such as react-query.

Or... we could fetch the remaining replies separately as a state for the Comment. Hmm...

Still... what kind of comment would get more than 100 replies anyway? 🤣

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0