We are using Svelte and Routify for our SPA project. There's no need for SSR since our entire app requires authentication.
Now that SvelteKit is officially stable (see 1.0 announcement), we are considering migrating to it.
If we do that, we're surely going to be using the SPA mode with the static adapter for the reasons mentioned above, so we're not going to take advantage of all of the benefits of the framework. Nevertheless, I can think of at least a few potential benefits of migrating, such as:
- Faster builds with Vite (we're currently using webpack)
- Tree shaking
- Instant reloading with the HMR API
- Dynamically preloading components and data (data-sveltekit-preload-data)
What are the other potential benefits of switching from Routify to SvelteKit 1.0 that are not mentioned above and are there any drawbacks besides having to refactor the codebase?