Socket
Socket
Sign inDemoInstall

svelte-routing

Package Overview
Dependencies
0
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1245Next

1.8.6

Diff

Changelog

Source

1.8.6

  • Issue fixed #242.
  • Update svelte version.
  • Codebase improved.
krishnatorque
published 1.8.5 •

Changelog

Source

1.8.5

  • Can Use Dom function improved.
  • function & class mismatch bug fixed.
krishnatorque
published 1.8.4 •

Changelog

Source

1.8.4

krishnatorque
published 1.8.3 •

Changelog

Source

1.8.3

  • Hooks & Types bugs fixed.
krishnatorque
published 1.8.2 •

Changelog

Source

1.8.2

  • Svelte dependency updated.
  • Lazyload component return type added.
  • Issue fixed #240.
krishnatorque
published 1.8.1 •

krishnatorque
published 1.8.0 •

Changelog

Source

1.8.0

  • Major Bugs fixed in Router.svelte.
  • Converted all interfaces into types.
  • Improved Lazy Loading/Async Route Import. Get much smaller chunk for every route. Only load files (JS & CSS module) when URL is active.
<!-- App.svelte -->
<Route path="/" component={() => import("./Home.svelte")} />

<Route path="/about" component={() => import("./About.svelte")} />

<Route path="/user/:user" component={() => import("./User.svelte")} />
  • Added Hooks for Contexts. useLocation, useRouter, useHistory.
<!-- Page.svelte -->
<script>
    import { useLocation } from "svelte-routing";
    const location = useLocation();
</script>

<div>{JSON.stringify($location)}</div>
tholle
published 1.6.0 •

Changelog

Source

1.6.0

Added TypeScript support.

tholle
published 1.5.0 •

tholle
published 1.4.2 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc