plebbit / plebchan

A GUI for plebbit similar to 4chan
https://plebchan.eth.limo
GNU General Public License v2.0
21 stars 8 forks source link

Implement react virtuoso to improve performance #3

Closed estebanabaroa closed 1 year ago

estebanabaroa commented 1 year ago

The process is described here https://github.com/plebbit/plebbit-react/issues/255

plebeius-eth commented 1 year ago

Implemented for the board view: 4fb23ec Not implemented for the catalog view because of the flickering bug that's always been present in VirtuosoGrid, apparently. A paging UI could replace InfiniteScroll in the catalog view to assure good performance, especially once subs will get complex.

estebanabaroa commented 1 year ago

im wondering if we can't use react-virtuoso without grid

you can get the size of the screen and decide how many columns there should be

then you make single components to be used as a single column, but inside each column there's a X cards

low priority though, dont try implementing that yet

another options is pagination for the feed. like 100 cards per page