tinro
tinro copied to clipboard
Highly declarative, tiny, dependency free router for Svelte's web applications.
There is one inquiry to use the transiton effect. If you give both in and out effects as follows, Even if delay is set on in, both components appear and...
Use your example https://github.com/AlexxNB/tinro#transitions ```svelte import {router} from 'tinro'; import {fade} from 'svelte/transition'; {#key $router.path} {/key} ``` ```svelte ... ... ... ``` When you are at `/` and navigate to...
Like hovering on an anchor tag sends the corresponding request and we save a couple of hundred milliseconds in delay that leads to a snappier end user experience. Coming from...
When I navigate to a new route and then back, it would be nice if the page was at my previous scroll position so that I don't have to scroll...
Currently when changing a parameter, the histoy in the browser is changed ([here](https://github.com/AlexxNB/tinro/blob/fcd59ea60ed571c235b68a8fefb649aaeb6b5cc3/src/location.js#L54)). It would be nice to make this behavior configurable, so that paramter changes can be pushed into...
It would be nice to include whether the current route is a fallback route or not in the route meta data. Something like ```svelte import {meta} from 'tinro'; const route...
I am having an issue that seems to stem from this one: Route Fails on Navigation #14 I am using Meteor/Svelte. Importing this way seems to resolve the error, but...
I was just typing `` in REPL (for #81) and it froze my tab. I assume because of an endless redirect (my cursor was in the `redirect` prop and I...
I find it _very_ odd to use `exact` or `active-class` attributes (even with `data-*`). This feels like jQuery-esque 2008 era code and not like Svelte. Can we migrate this to:...
https://svelte.dev/repl/0022cdbaabb24b9e808bfec397dba62b?version=3.42.1 `assert(meta.query.foo === '/bar')` fails Compare this to https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams for example