How to use svelte-spa-router - 1 common examples

To help you get started, we’ve selected a few svelte-spa-router examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mermaid-js / mermaid-live-editor / src / code-store.js View on Github external
export const updateCodeStore = newState => {
  codeStore.set(newState);
  push('/edit/' + Base64.encodeURI(JSON.stringify(newState)))
};

svelte-spa-router

Router for SPAs using Svelte 4

MIT
Latest version published 11 months ago

Package Health Score

66 / 100
Full package analysis

Popular svelte-spa-router functions