Home | Notifications | New Note | Local | Federated | Search | Logout
Note Detail
Reply to @rees@tsundere.love
Denpa mode :flag: :cute__i: @hj@shigusegubu.club (2026-07-31 08:58:17)
@rees @Nudhul @sun the code is actually very simple - it only renders visible content, when content goes out-of-sight it stores its height and replaces all out-of-sight statuses with a two spacers (above and below) with height of sum of those hidden.
If we don't do that any update to the timeline (or thread) will cause massive lag and possibly CPU usage, just vue things.
You can compare how timeline behaves to how threads behave - as I said - threads don't have virtual scrolling at all. You can also disable this optimization completely if you wanna compare.
---Attachments---
image: https://shigusegubu.club/media/cd45d07a-770a-4d6b-9279-424970f36bb9/image.png?name=image.png
---Reply---
rees@rees@tsundere.love (2026-07-31 08:58:54)
@hj @Nudhul @sun >just vue things
you might as well just have claude rewrite it in a better framework with ultracode in like a day
Reply
---Replies---
Blurry Moon@sun@shitposter.world (2026-07-31 09:01:00)
@rees @hj @Nudhul I use Svelte these days and I'm experimenting with Solid. Solid is supposed to be particularly good about avoiding complete re-renders