All technologies

SvelteKit

7 painsavg 6.6/10
architecture 2build 1performance 1compatibility 1testing 1dx 1

Dependency graph and architecture cannot scale with project growth

8

The framework's dependency graph, build pipeline, and integration points are carrying more load than originally designed for. This root cause manifests as slow LSPs, long builds, dev-server lag, flaky SSR tests, and uneven runtime performance. Fundamental architectural issues rather than individual bugs.

architectureSvelteKitSvelte

Production build times extremely slow (10+ minutes for build + type checking)

8

Building for production takes ~10 minutes, and svelte-check adds another ~10 minutes, making it 20+ minutes total. esbuild, swc, and rspack lack good Svelte support, making workarounds difficult. Build times worsen as projects grow.

buildSvelteSvelteKitesbuild+2

SvelteKit server routes insufficient for high-load applications requiring custom Node.js endpoints

7

SvelteKit API endpoints are not performant enough for high-load scenarios (11k RPS required 200 pods just for proxying). Teams forced to write endpoints directly on Node.js server, bypassing SvelteKit entirely.

performanceSvelteKitNode.js

__dirname undefined error in SvelteKit with custom Prisma output

7

When generating PrismaClient to a custom location in SvelteKit projects, Prisma produces code with undefined __dirname references, causing build and runtime failures.

compatibilityPrismaSvelteKit

Client-side load functions and SSR create flaky/unmockable tests

6

Since client-side load functions (`+page.js`) started serializing responses, they cannot be mocked effectively. SSR can cause flaky tests in Playwright when selectors click before hydration completes, causing event handlers to not attach.

testingSvelteKitPlaywright

SvelteKit lags behind peers for full-stack application development

6

SvelteKit feels behind competing frameworks when building real full-stack applications, separate from reactivity/runes concerns. Fundamental platform maturity gap exists.

architectureSvelteKit

SvelteKit file structure becomes unwieldy in large applications

4

Even in small SPA-mode projects, the nested folder structure with multiple `+page`, `+layout`, and server-side files creates navigation and discoverability nightmares. Routing files strewn across a million folders makes codebase navigation difficult.

dxSvelteKit