Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**❇️ Added features / Improvements:** + TypeScript support + Before route push hooks + Restore scroll state + Updated readme + Created examples (which you may find in [DanielSharkov/svelte-router-examples](https://github.com/DanielSharkov/svelte-router-examples)) **🔄 Changes:** * Now bundling with Rollup instead of Webpack * Now using direct character comparison instead of deprecated `charCode` **❗️ Breaking changes:** - Renamed `RouterLink.svelte` to `RouteLink.svelte` and added prop `router` - Now parsing URL query just by `key:value` of type `{[key: string]: string}` instead of `key:values` by type `{[key: string]: string|[]string}` - Renamed router API point `navigate` to `pushPath`, which now only takes a path that already may include the URL query - Renamed `RouterViewport.svelte` to `Viewport.svelte` and - removed `easeIn` & `easeOut` - removed event forwarding props `outrostart`, `outroend`, `introstart` and `introend` **Just some cool stuff:** * Finally a logo - self made 😊
- Loading branch information