svelte-spa-router

Router for SPAs using Svelte 3 (by ItalyPaleAle)

Svelte-spa-router Alternatives

Similar projects and alternatives to svelte-spa-router

  1. Next.js

    2,360 svelte-spa-router VS Next.js

    The React Framework

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.

    SurveyJS logo
  3. React

    1,947 svelte-spa-router VS React

    The library for web and native user interfaces.

  4. Tailwind CSS

    A utility-first CSS framework for rapid UI development.

  5. vite

    913 svelte-spa-router VS vite

    Next generation frontend tooling. It's fast!

  6. Svelte

    719 svelte-spa-router VS Svelte

    web development for the rest of us

  7. SvelteKit

    web development, streamlined (by sveltejs)

  8. Bootstrap

    The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. redux

    305 svelte-spa-router VS redux

    A JS library for predictable global state management

  11. Material UI

    Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.

  12. Stripe

    PHP library for the Stripe API.

  13. Keycloak

    Open Source Identity and Access Management For Modern Applications and Services

  14. Sass

    224 svelte-spa-router VS Sass

    Sass makes CSS fun!

  15. react-router

    Declarative routing for React

  16. Preact

    129 svelte-spa-router VS Preact

    ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.

  17. carbon-components-svelte

    Svelte implementation of the Carbon Design System

  18. svelte-material-ui

    Svelte Material UI Components

  19. routify

    12 svelte-spa-router VS routify

    Automated Svelte routes

  20. svelte-query

    Performant and powerful remote data synchronization for Svelte

  21. svelte-routing

    A declarative Svelte routing library with SSR support

  22. electron-sveltekit

    Electron and SvelteKit integration

  23. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better svelte-spa-router alternative or higher similarity.

svelte-spa-router discussion

Log in or Post with

svelte-spa-router reviews and mentions

Posts with mentions or reviews of svelte-spa-router. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-19.
  • A minimalist password manager desktop app: a foray into Golang's Wails framework (Part 2)
    5 projects | dev.to | 19 Dec 2024
    3 things to comment here. The first is the use of the svelte-spa-router library (for more details see its doc here). For the simple purpose of changing views in a desktop application, this library more than fulfills its purpose. With the 7 views or pages we create a dictionary (or JavaScript object) that associates routes with views. Then this dictionary is passed as props to the Router component of svelte-spa-router. It's that simple. As we will see later, through programmatic navigation or through user action we can easily change views.
  • Svelte 4 Released
    4 projects | news.ycombinator.com | 22 Jun 2023
  • UI kits, form validation, SPA routing. Why basic libraries are so hard to find.
    6 projects | /r/sveltejs | 3 Jun 2023
  • Svelte-spa-router: Router for SPAs using Svelte 3
    1 project | news.ycombinator.com | 24 May 2023
  • [Q] Can I use sveltekit with rust?
    1 project | /r/sveltejs | 13 Apr 2023
    But the choice depends on the type of application though. If your routes are not dynamic (not using variables within route) then you can use static site generation (SSG) which will generate the various html files. Otherwise you need to use the same file (index.html#my/dynamic/route/5). To my knowledge svelteKit doesn't support hash-based routes. You might be able to configure routing without it, but if you need that, you me be better off to use svelte with svelte-spa-router and not sveltekit.
  • Thoughts on Svelte
    15 projects | news.ycombinator.com | 27 Mar 2023
    https://github.com/ItalyPaleAle/svelte-spa-router seems good too.

    but it's not official, and Svelte project seems careless for client routing, instead it tries to convince everyone use its SSR-first kit, that "can do CSR too", which means you have to carry the whole SSR code base and its documentation into your CSR project totally unnecessarily.

    I get it Vercel needs SSR for its business, I don't get it why it keeps selling everyone that "my SSR-first framework is great for CSR SPA too", it is NOT, not at all.

  • SvelteKit worth?
    1 project | /r/sveltejs | 6 Sep 2022
    For a simple static site you can just use svelte with svelte-spa-router. If you want SSG, use Astro, it's a lot more mature than SvelteKit.
  • How do i make the Nav links work in Svelte?
    3 projects | /r/sveltejs | 23 Mar 2022
    Svelte SPA Router - You need a router. NextJS, which you have experienced in, comes with a router.
  • Some front-end web technologies you should be aware of as a newcomer 🧐
    22 projects | dev.to | 22 Feb 2022
    Svelte SPA Router
  • svelte-spa-router not registating external hash change
    2 projects | /r/sveltejs | 8 Feb 2022
    I am using Keycloak for logging into my app and svelte-spa-router for hash based routing inside my SPA. After successful login, Keycloak should redirect back to http://localhost:1234/#/myRoute . However, Keycloak appends some suffixes to this route. The route ends up looking something like this: http://localhost:1234/#/myRoute&state=hexstring&session_state=hexstring... etc As I defined my route (inside routes.js) as /myRoute , the router fails to parse the URL returned by keycloak. Looking at the source code I noticed that keycloak changes the URL back to the "clean" parameterless URL: http://localhost:1234/#/myRoute using a call to window.location.replaceState . Unfortunately, this call does not get reflected in the spa-routers internal svelte store (i.e. $location).
  • A note from our sponsor - SurveyJS
    surveyjs.io | 13 Jul 2025
    Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more. Learn more →

Stats

Basic svelte-spa-router repo stats
18
1,573
5.7
over 1 year ago

Sponsored
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io