And now I’m deep in doing this and having a blast designing an UI for it. No idea how to distribute it but 🤷♀️
I am *this* close to start considering building a web-based mpd client. I probably shouldn't but that rarely stopped me in the past...
Virtualization means I'll need to, somehow, cut all my data into rows and figure out how many items fit in a row given the item width and... I really wish I didn't have to do that 😞
@Eramdam lazy-load images for the first "scroll-through" to save resources on initial load and use an Intersection Observer to only render actual content in/around the viewport and replace the rest with size-holding placeholders!
@pixel I’ll try that 🤔
@pixel so I tried that and:
- having 1k+ observers kills everything (duh)
- reusing the same observer when the targets and the root aren’t in the same react component is another can of worms x_x
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!