html-next / vertical-collection

Infinite Scroll and Occlusion at > 60FPS
https://html-next.github.io/vertical-collection/
MIT License
176 stars 77 forks source link

Efforts, difficulties and limits to implement this lib in a different frontend-library #355

Closed wuarmin closed 2 years ago

wuarmin commented 2 years ago

Hey :smiley:,

I know that's not really relevant here, but a few thoughts would be very helpful. Also, it's not an issue in that sense, but I don't know where else to ask this.

I have used this library in Ember.js projects and this library is second to none. Now I have a React.js project where I would need the same functionality. There are also virtualization options in the React world, but not in this way, at the moment. For example, it is not possible to virtualize a tbody element. I would be interested to know how much effort, difficulties, etc... you would expect if someone is thinking about implementing this library in React.

Thanks and best regards

mixonic commented 2 years ago

vertical-collection is fairly coupled to an Ember-specific implementation today. I'm sure with dedicated effort it could be adapted to be generically portable, or lessons from its implementation could be worked into other existing solutions, but that is generally out of scope for now.

I recognize you're hoping for some generic guidance as well, and I'll need to apologize that I don't have anything very useful at that level. I think that authoring this library was challenging for the initial development team, and that building a solution on par with it will take some serious time and experience.

Feel free to link back if you've since found a good alternative! I'd enjoy seeing other best-of-breed implementations to learn from.