kit
kit copied to clipboard
web development, streamlined
### Describe the bug Editing [CSS Module files](https://vitejs.dev/guide/features.html#css-modules) that are imported in `.svelte` components causes a full page reload, while hot-reloading is expected (and demonstrably possible, but more on that...
fix: handle redirect thrown from root layout load when client-side navigating to a non-existent page
fixes https://github.com/sveltejs/kit/issues/11099 There is currently no client-side error handling logic for when we run the root layout load function from rendering the root error page. This catches and handles the...
fixes https://github.com/sveltejs/kit/issues/11879 This PR adds an edge middleware that runs `reroute` beforehand so that, when there are multiple functions, the correct one is invoked instead of not matching any function...
Fix #12351 --- ### Please don't delete this checklist! Before submitting the PR, please make sure you do the following: - [x] It's really useful if your PR references an...
### Describe the problem One can easy implement GET, PUT in an api route by a function (see below) ```javascript import { json } from '@sveltejs/kit'; export function GET() {...
## Updated bug report Changing the version in svelte.config.js and rebuilding the exact same code results in most client chunks also being updated with a new hash. The cause seems...
### Describe the bug Using svelte fetch causes the same data to be returned. ```ts // +page.ts export const load = async ({ fetch }) => { const values: string[]...
### Describe the problem Esvelte has become my favorite framework both in terms of performance and ease. And the fact that the style tag doesn't integrate with the script is...
### Describe the bug When I deploy my project on Vercel, this line gives undefined: ```typescript export const GET: RequestHandler = async (event) => { console.log('is platform here?', event.platform); //...
### Describe the bug I'm seeing a lot of duplicate requests when a user visits our website. We are running on Sveltekit with ISR using the guide here: https://kit.svelte.dev/docs/adapter-vercel#incremental-static-regeneration When...