The Path To Convex Virtuoso (via the Forest of Pain)
well thats the confusing part... normally the virtuoso expects to be fed batches of some number of messages... like 50 every load
14 Replies
so i'm looking back at my old code and i did something kind of insane that i don't understand
lol
lmao
but
maybe i just try tanstack virtual?
first i just need to get the basic scrolling working i cant even do that rn
i'm gonna dump a bunch of code which may or may not help you 😂
thanks a lot
this is for reverse infinite scrolling only. once you get this part working you'll hopefully...figure out the rest
but really don't worry if you can't get to the jump to message right away. its pretty hairy
alright :))
ffs it didnt let me
VirtualizedMessageFeed.tsx
so this is part i was embarassed to show at first
because i dont know why i used the current time????
oh ok. it's how i counted how many new messages were added. but... why didn't i just use the length?
maybe your ai can make some sense of this ðŸ˜
lol
hopefully thanks a lot
good luck
thanks