Skip to content

Gotchas everywhere - wasted at least 3 days on it #128

Description

@ancashoria

This is a review of the dev experience using this component.

I really like the whole concept behind this component with the IntersectionObserver instead of scroll events and this is why I really wanted to use it, but man it was a frustrating experience and after 3 or 4 days of trying to make it work, I'm going to look elsewhere.

The list of issues is:

  • onIntersection callback triggering like crazy and entering an "infinite loop" that kept on fetching data from the api
  • unable to properly use it inside a functional parent component
  • scroll state resetting

Some of the issues could be my fault for not understanding some of the details, but this component does nothing to steer the user to the pit of success, quite the opposite.

I'm sorry to leave such a negative review here, but I think it could be useful for other developers.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions