2121
2222+ ** Always-on path and hash routing** : Simultaneous, independent and always-on routing modes.
2323+ ** Multi hash routing** : Doing micro-frontends? Routing tabs or dialogs using the URL? Have as many paths as needed.
24- + ** Sveltekit support** : Add hash routing on top of Sveltekit's path routing Via
24+ + ** Sveltekit support** : Add hash routing on top of Sveltekit's path routing via
2525[ @svelte-router/kit ] ( https://github.com/WJSoftware/svelte-router-kit )
2626+ ** Electron support** : Works with Electron (all routing modes)
2727+ ** Reactivity-based** : All data is reactive, reducing the need for events and imperative programming.
4343+ ` RouterEngine.routes `
4444+ ` RouterEngine.routeStatus `
4545
46- All data is a Svelte signal. Add routes dynamically or reactively, change route conditions on the fly, and more pieces
46+ All data is a Svelte signal. Add routes dynamically or reactively, change route conditions on the fly, add more pieces
4747of user interface on-demand, etc. All works reactively.
4848
4949### Two Library Modes
@@ -89,7 +89,7 @@ Default:
8989init (); // Or use initFull() for full-mode.
9090
9191// Common case: "I just need good, old-fashioned hash routing."
92- init ({ implicitMode: ' hash ' });
92+ init ({ defaultHash: true });
9393```
9494
9595#### Electron Variant
@@ -441,7 +441,7 @@ Additional `goTo()` options:
4414411 . ** Use ` <Link> ` components** for user-triggered navigation
4424422 . ** Use ` navigate() ` ** for programmatic navigation within routing universes
4434433 . ** Use ` goTo() ` ** only for direct URL manipulation
444- 4 . ** Try to specify ` hash ` ** in ` navigate() ` instead of relying on the implicit mode whenever possible
444+ 4 . ** Try to specify ` hash ` ** in ` navigate() ` instead of relying on the default hash whenever possible
445445
446446Just in case you are wondering: This navigation logic is already there in ` <Link> ` components:
447447
@@ -461,8 +461,7 @@ As seen, the value of the `href` property never changes. It's always a path, re
461461
462462> ** ⚠️ Important:** Not setting the ` hash ` property is ** not the same** as setting it to ` false ` . When ` hash ` is
463463> ` undefined ` , either because the property is not specified at all, or its value is set to ` undefined ` explicitly, the
464- > value of the ` implicitMode ` library option, which is set when the library is initialized, will be used to resolve a
465- > ` true ` or ` false ` value.
464+ > value of the ` defaultHash ` library option, which is set when the library is initialized, will be used instead.
466465>
467466> This is true for all components that support the ` hash ` property.
468467
0 commit comments