navi
navi copied to clipboard
🧭 Declarative, asynchronous routing for React.
`crawl` doesn't work on certain older browsers and throws `TypeError: matcher is not a function`. The problem seems to be caused by the returned promise from `createCrawlTuplesPromise` that resolves to...
Following on from this issue #85 could you point me in the right direction where this work might need to be done? My previous routing logic relied on react-router supporting...
Hi. I apologize if I bring it up as a duplicate, but I've gone through all related issues and haven't found a solution. ## Expected behavior I want to be...
I have the following routes: ```javascript mount({ '/': route({ title: 'Home', view: , }), '/about': route({ title: 'About', view: , }), })) ``` but as it renders, the title of...
Some of my views share a navigation bar and some doesn't, how do I combine them? For example, suppose my app have 3 pages, "home", "products" and "about", "home" and...
Hi, I'm wondering how to use `useCurrentRoute().data` without losing the type safety of typescript. For the time being, I'm not using the `getData` function in my routes, and instead I'm...
I've just started to use navi and it looks awesome! 🙌🏻 It's prob a silly question, but after reading the documentation and playing a bit I couldn't achieve this simple...
I'm trying to use the navi-scripts package with a custom webpack configuration. I can get it (sort of) working if I don't use the `optimization` setting of webpack. With it,...
Hey! First of all, thanks for writing this library. I really appreciated how approachable the documentation is and how conversational it is in tone (particularly the "motivation" and "comparison" sections,...
Hey, When clicking same link, it creates duplicates in history so when you click back, you get to the same page. Tested on *basic* example. Click `home -> about ->...