dubinc / oss-gallery

A crowdsourced list of the best open-source projects on the internet. Built with the Dub TypeScript SDK.
https://oss.gallery
MIT License
1.05k stars 54 forks source link

Feat - Virtualized List for displaying the projects #4

Open alexbennycodes opened 4 months ago

alexbennycodes commented 4 months ago

Since we already have a really long list of open source projects, I was just curious: Is it good to have a virtualized list to display the projects. As the number of projects keeps increasing, this seems like a stable approach.

skushagra9 commented 4 months ago

agree, I am interested to contribute

leoferreiralima commented 3 months ago

i am thinking the same

leoferreiralima commented 3 months ago

Maybe a solution like this

https://tanstack.com/virtual/latest/docs/framework/react/examples/infinite-scroll

alexbennycodes commented 3 months ago

I guess infinite scroll wont be needed since already have the entire list of projects, before hand, we just need to make sure that only 15-20 nodes are rendered at an instance