-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Description
Describe the problem
I got the idea of writing this issue after reading https://cpojer.net/posts/fastest-frontend-tooling. There’s no doubt that AI is a massive shift in code writing, and one of the most important ways to ensure that AI writes good code is by using the tools available; formatting, linting, type checking, building etc.
I love Svelte, i’ve used it every day at work since Svelte 3. IMO, Svelte is the perfect FE framework for AI because of how little code is necessary to achieve what you want, and there’s usually only «one way» to do things. The syntax is easy to understand, and it’s difficult to do things wrong. However, I have started to feel certain pain points when developing Svelte with AI when it comes to the feedback loop of the tools available. I’ve added optimizations like only formatting changed files in a branch, only running lint on changed files (which works in most cases), and telling it to use svelte-check only at the latest step.
However, it still feels like there’s a way to go. Tools like svelte-fast-check (really cool, but has some bugs that makes it not usable atm), Rolldown, Biome and the OX tool suite seem like great advancements. However, to me it doesn’t seem like the OX team (are able to?) prioritize Svelte when developing their tools. You can format and lint in the script-tags, but that isn’t enough to be usable IMO. Biome has experimental support, but it’s experimental. And OX seems to maybe be the most likely tool to use with Vite considering they’re from the same company.
I may be wrong here, and i most likely are, but i feel like i haven’t found any signs that performance (down to the millisecond/seconds scale) is going to be prioritized in the near future.
So therefore i’m asking the question: What’s the roadmap for making Svelte building, bundling, linting, formatting etc. as fast as the other alternatives? Large React applications can now be built, linted and formatted in seconds, but Svelte is still on the performance of pre-rust tooling upgrades.
Describe the proposed solution
I’m not sure what the best solution to this problem is, but it feels like this is something that will become more important now that the feedback loop is moving away from the VSCode interface via plugins for humans to read, and moving towards the CLI for machines to read.
I know that tools like Cursor give access to the language server in their AI-panels, but for many workflows using Cursor is not the best option anymore.
Importance
nice to have