Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ancashoria opened this issue May 12, 2020 · 0 comments
Open

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

ancashoria opened this issue May 12, 2020 · 0 comments

Comments

@ancashoria
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant