Skip to content

Error paginating after new comment insertion #2

Closed
@johnnyoshika

Description

@johnnyoshika

When paginating after a new comment is inserted, and when the newly inserted comment returns from the server through pagination, this results in an ID conflict:
image
This also results in a duplicate comment, even through they have the same ID.

To reproduce:

  • Insert a new comment
  • Keep clicking More Comments until the newly inserted comment appears a second time

This issue was highlighted in this PR: the-road-to-graphql/react-graphql-github-apollo#29

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions