korywka
banner
korywka.bsky.social
korywka
@korywka.bsky.social
Haven’t tried, but looks what I need. Thank you!
November 16, 2025 at 5:54 PM
Why this is a problem: it is impossible to move heavy computations with state to web worker, to unblock main thread. snapshot or other clone operations takes the same time, that we try to avoid. Just FYI
November 16, 2025 at 4:30 PM
Oh, forgot to say that $state.snapshot is VERY expensive on big objects :) I think it should be mentioned in docs.
November 15, 2025 at 12:03 AM
The key contains all dashboard filters and changes for each select change. The project is for military needs in Ukraine, so I can’t share it.
November 14, 2025 at 6:25 PM
By the way about performance. I found that svelte very slow if the state is big object (I use it in data viz in SvelteKit). effect is very slow and it is much better to wrap chart in key and remount it for each data change.
November 14, 2025 at 6:21 PM
Yep, maybe community owned 😐
October 16, 2025 at 12:54 PM
The Svelte extension is in Zed GitHub repository: github.com/zed-extensio... So I thought it is like official support of Svelte 🤷‍♀️
GitHub - zed-extensions/svelte: Svelte support
Svelte support. Contribute to zed-extensions/svelte development by creating an account on GitHub.
github.com
October 16, 2025 at 6:55 AM
Yes and no :) From the user side it's Zed. Zed chose tree-sitter, which brings some LSP desync. We are Apple-first on displays, then Samsung. No hate - I have been using Zed for years and I’m glad there's an alternative to VSCode.
October 15, 2025 at 9:30 PM
Zed is great, but some framework-specific features that work in VS Code don’t work in Zed. Like: github.com/zed-extensio... And they are not fixed for months. Wish I had ability to pay for feature/fix for Zed. It hard to demand something when you are using it for free :)
Syntax highlighting for {@attach} directive is missing · Issue #36 · zed-extensions/svelte
Is this related here or am I completely out of the loop?
github.com
October 15, 2025 at 4:54 PM
SVG files after renaming to .svelte are not viewable as image anymore in any editor. It makes harder to support project without some kind of storybook. Zed have formatting bug with @.attachment: github.com/zed-extensio... It is 2025 and we still have only the single code editor with Svelte support 🥲
Syntax highlighting for {@attach} directive is missing · Issue #36 · zed-extensions/svelte
Is this related here or am I completely out of the loop?
github.com
October 15, 2025 at 2:29 PM
You have to add `?component` to each SVG import. Just because you can't manage SVG types: github.com/sveltejs/kit...
Override `vite/client` definitions · Issue #12276 · sveltejs/kit
Describe the problem There is a problem to import SVG files in SvelteKit: https://github.com/poppa/sveltekit-svg?tab=readme-ov-file#svelte-usage #10295 The problem is that these types should be set...
github.com
October 14, 2025 at 8:18 PM
Support for SVGs via attach or renaming on the bundler side, along with inserting attributes (with proper typing), might seem like a very small thing — but having built around a dozen large SvelteKit projects, working with SVGs has never been a pleasant experience :)
October 14, 2025 at 6:52 PM
Yep. The benefit of attach is that you have types out of the box for new attributes, because you are adding them to svg tag directly: `<svg {@attach svg('/cat.svg')} fill="red" />`.
October 14, 2025 at 6:51 PM
There are several popular packages that try to add SVG support to Svelte. This shows that the issue is quite common, and it would be great to have an official solution. One way or another, third-party packages have typing issues that get overridden on Vite’s side: github.com/sveltejs/kit...
Override `vite/client` definitions · Issue #12276 · sveltejs/kit
Describe the problem There is a problem to import SVG files in SvelteKit: https://github.com/poppa/sveltekit-svg?tab=readme-ov-file#svelte-usage #10295 The problem is that these types should be set...
github.com
October 14, 2025 at 6:28 PM
<RenamedFileSVG fill="red" /> will not pass properties `fill` to SVG. So each renamed file should also insert properties spreading on the root tag of SVG.
October 14, 2025 at 6:28 PM
Yep. VSCode works well. Will close the issue, thanks. But SVG support still, I think, needs improvement for Svelte/Kit :)
October 14, 2025 at 6:16 PM
maybe the reason is Zed editor 😔
October 14, 2025 at 5:51 PM
changing .svg to .svlete will not pass properties. also the svg files are not viewable in code editor :( yep, on the latest. strange, strange…
October 14, 2025 at 5:47 PM
Don't you mind this domain if I send you 5 years of hosting $ to PayPal or GitHub donation? The another website is always #1 is search and your one hard to type :)
October 14, 2025 at 12:49 PM
Is it possible to close svgomg.net? Does that count as stealing?
SVGOMG - Optimize and minify SVG images
Easy & visual compression of SVG images.
svgomg.net
September 30, 2025 at 6:49 PM
Nice, but cycle carousel would be huge 🥹
July 29, 2025 at 7:42 PM
We checked cspell and it is nice with solid community 🙄 Other plugins are here today, gone tomorrow.
March 2, 2025 at 1:54 AM