News for hackers. Stuff that matters.
Re:Show HN: Svelvet – A component library for building inter... by Philip-J-Fry on Thursday June 02, 2022 @12:37PM (#31597094)
The performance on my S21 Ultra is pretty bad. Feels like ~40fps and stuttering. Also, it doesn't have mobile interaction for dragging nodes. I can only pan the canvas.
Re:Show HN: Svelvet – A component library for building inter... by a2128 on Thursday June 02, 2022 @01:35PM (#31598027)
On my phone, with Chrome Android it's smooth and fast, but on Firefox Android it feels about 20fps and isn't great.
Re:Show HN: Svelvet – A component library for building inter... by upupandup on Thursday June 02, 2022 @03:44PM (#31599649)
Not to detract this component but I can say with certainty that people will be writing Desktop applications with Svelte/React running inside Electron that takes up gigs of ram. It will be interesting to see how this performs in such environment.

Bit off topic but I really dig the clean look and feel of this. Is there anything close in Flutter? Think building this in Flutter might improve performance for your case (running on a high end samsung phone)

Re:Show HN: Svelvet – A component library for building inter... by iueotnmunto on Thursday June 02, 2022 @04:19PM (#31600024)
I keep hearing this, but I've never figured out why it might be the case, and particularly with Electron over Chrome/FF?

Surely if react/svelte etc are built well they're relatively low processor / compute? When manipulating canvas / images / rich-whatever, I assume graphic accelerated functions would work substantially better than alternatives.

Re:Show HN: Svelvet – A component library for building inter... by upupandup on Thursday June 02, 2022 @05:23PM (#31600681)
I'm not sure what the issue was, could be the particular browser they are using (Samsung browser is horrible) but I wouldn't be surprised if it runs into performance issues as number of nodes increase.
Re:Show HN: Svelvet – A component library for building inter... by iueotnmunto on Thursday June 02, 2022 @05:27PM (#31600713)
I'm talking specifically about electron.
Re:Show HN: Svelvet – A component library for building inter... by darkerside on Thursday June 02, 2022 @12:42PM (#31597183)
Looks great on an S20 Note Ultra FWIW
Re:Show HN: Svelvet – A component library for building inter... by jdc on Thursday June 02, 2022 @09:03PM (#31602892)
Runs flawlessly on my Pixel 4 XL