4 ms·
This seems like a giant leap forward for Svelte. I'm excited to see where it leads. I've been using Svelte for the UI on a cross-platform video editor (with th
by dceddia 5y ago
This seems like a giant leap forward for Svelte. I'm excited to see where it leads.
I've been using Svelte for the UI on a cross-platform video editor (with the backend in Rust). Svelte has been a joy to use, especially the Stores and Context for sharing state.
I've also been happy to find that its generated code is pretty readable. On one little performance-tuning side quest, I was profiling to figure out why the app was performing a Layout on every video frame, and I was able to step through the compiled Svelte component code and narrow it down to one of my own functions. I also briefly went down a path of trying to manually set the text content on an element, to see if it'd be faster than letting Svelte do it. Turned out the answer was no, but it was nice to know that level of control is available if I need it some day.