pull down to refresh

Ah but you don't have the post-hydration request in there? I don't remember why I had to nest requestAnimationFrame twice (see what I mean about maintainability?), but without that I got ugliness and now I have prettiness. So perhaps you only need that, not the event listener itself.

I could, in theory, start writing an alternative client as a TUI

Heh. Yes. I had that ever since I wrote the weekly AI posts tho. Locally cached too. Also not for sharing. And that wasn't for sharing over a year ago haha.

126 sats \ 2 replies \ @ek 7 Sep
I don't remember why I had to nest requestAnimationFrame

I think @sox did something similar in SN's code to prevent the page from jumping around with live comments. Maybe that's where you got your inspiration from?

reply
111 sats \ 0 replies \ @sox 7 Sep

I got the idea from here (explanation is within the first minute from timestamp):

pretty cool trick tbh

reply

Potentially. This was months ago. It's not that important hehe.

reply