svelte-routing VS Svelte

Compare svelte-routing vs Svelte and see what are their differences.

svelte-routing

A declarative Svelte routing library with SSR support (by EmilTholin)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
svelte-routing Svelte
7 632
1,980 76,402
- 1.1%
8.2 9.9
about 1 month ago 4 days ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

svelte-routing

Posts with mentions or reviews of svelte-routing. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-11.
  • How's routing done in Vanilla Svelte?
    2 projects | /r/sveltejs | 11 Jul 2023
    participated in discussion about the initiative to keep svelte-routing package alive on their github issue: https://github.com/EmilTholin/svelte-routing
  • UI kits, form validation, SPA routing. Why basic libraries are so hard to find.
    6 projects | /r/sveltejs | 3 Jun 2023
  • Help for micro-frontend / monorepo architecture
    2 projects | /r/AskProgramming | 22 May 2023
    So my questions are : Is it possible to have routes inside the MFs ? If yes, should I use something like this (https://github.com/EmilTholin/svelte-routing) even if it's not official svelte support ? I don't really see informations about entry points on the Turborepo doc. I want to be able to work on each MF independantly (I mean see them in the browser in dev mode) but then just serve them as modules for the app shell in prod mode. I imagine this is possible but is it a configuration I need to implement myself with the package.json files or is it about Turborepo ? I read this (https://michalzalecki.com/micro-frontends-module-federation-monorepo/) article about a similar approach with Webpack, but in this article I don't quite see where is the difference between the bundling part of Webpack (wich can be whatever I want Vite for Svelte, Turbo for Next, etc.) and the monorepo handling part. So how/why only one tool (webpack) instead of many others (turborepo + other bundlers) ?
  • Thoughts on Svelte
    15 projects | news.ycombinator.com | 27 Mar 2023
    I used https://github.com/EmilTholin/svelte-routing with great success, though it looks like the maintainer has recently stopped maintaining it, and recommending sveltekit.

    Still, I'd give try, it looks like people are still using it, and perhaps someone else will pick up the burden of maintenance, since there's clearly a ton of demand: https://github.com/EmilTholin/svelte-routing/issues/236

  • Tips for sveltejs newbie
    1 project | /r/sveltejs | 6 Jul 2022
    I'll use SvelteKit in the future but I wanted to learn Svelte with the most basic setup first. I don't want to use SSR anyway. I went with a Vite + Typescript setup and used this router library. It's really simple and did work without any hassle. I love the mindblowing simplicity of Svelte, the tiny builds and the blazing fast dev-server HMR. Coming from React and Vue.
  • What's the current state of frontend frameworks/stacks thats easiest to use for small personal projects?
    3 projects | /r/webdev | 7 Sep 2021
    Second point, yes you can add routes. Here is the refence I used: https://github.com/EmilTholin/svelte-routing
  • State of the Sveltejs Ecosystem?
    10 projects | /r/sveltejs | 28 Aug 2021
    Routing: We have a few third party ones such as routify, svelte-spa-router and svelte-routing as well as the clientside routers included in SvelteKit and Sapper.

Svelte

Posts with mentions or reviews of Svelte. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-21.
  • How to optimise React Apps?
    5 projects | dev.to | 21 Apr 2024
    React has introduced measures like batching state updates, background concurrent rendering and memoization to tackle this. My opinion is that the best way to solve the problem is by improving their reactivity model. The app needs to be able to track the code that should be re-run on updating a given state variable and specifically update the UI corresponding to this update. Tools like solid.js and svelte work in this manner. It also eliminates the need for a virtual DOM and diffing.
  • Episode 24/13: Native Signals, Details on Angular/Wiz, Alan Agius on the Angular CLI
    11 projects | dev.to | 5 Apr 2024
    Similarly to Promises/A+, this effort focuses on aligning the JavaScript ecosystem. If this alignment is successful, then a standard could emerge, based on that experience. Several framework authors are collaborating here on a common model which could back their reactivity core. The current draft is based on design input from the authors/maintainers of Angular, Bubble, Ember, FAST, MobX, Preact, Qwik, RxJS, Solid, Starbeam, Svelte, Vue, Wiz, and more…
  • Rich Harris: Svelte parses HTML all wrong
    1 project | news.ycombinator.com | 5 Apr 2024
  • Mario meets Pareto: multi-objective optimization of Mario Kart builds
    2 projects | news.ycombinator.com | 4 Apr 2024
  • Svelte parses HTML all wrong
    1 project | news.ycombinator.com | 4 Apr 2024
    1 project | news.ycombinator.com | 3 Apr 2024
  • Svelte for Beginners: Easy Guide
    2 projects | dev.to | 2 Apr 2024
    Svelte is a powerful web framework that offers a fresh approach to building web applications. Its simplicity, reactivity model, and built-in features make it an excellent choice for developers looking to create efficient and maintainable applications. By following this guide, you should now have a good understanding of how to get started with Svelte and build your first components, routes, and transitions. You can read more about svelte on the official Svelte website.
  • Trying to use dotnet watch with Svelte
    2 projects | dev.to | 17 Mar 2024
    Use .NET features (especially dotnet watch) as a setup for a client-side Svelte application, starting from a simple C# console app.
  • Why I keep an eye on the Vue ecosystem and you should too
    9 projects | dev.to | 6 Mar 2024
    Volar originally was Vue3's language support tool for VScode (I don't know about other editors). By today, volar has become a language indipendent framework to create language tools. It might still be a bit early for the dev with skill issues like me to use it and build some tools, but astro and svelte already use Volar to create their language tools.
  • Svelte Tenets by Rich Harris
    1 project | news.ycombinator.com | 10 Feb 2024

What are some alternatives?

When comparing svelte-routing and Svelte you can also consider the following projects:

svelte-spa-router - Router for SPAs using Svelte 3

Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.

routify - Automated Svelte routes

lit - Lit is a simple library for building fast, lightweight web components.

electron-sveltekit - Electron and SvelteKit integration

solid - A declarative, efficient, and flexible JavaScript library for building user interfaces. [Moved to: https://github.com/solidui/solid]

tinro - Highly declarative, tiny, dependency free router for Svelte's web applications.

qwik - Instant-loading web apps, without effort

urql - The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.

awesome-blazor - Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.

capacitor - Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️

Next.js - The React Framework