swiftui-router
Path-based routing in SwiftUI (by frzi)
navaid
A navigation aid (aka, router) for the browser in 850 bytes~! (by lukeed)
swiftui-router | navaid | |
---|---|---|
2 | 1 | |
949 | 793 | |
1.1% | 0.8% | |
2.1 | 3.4 | |
7 months ago | over 1 year ago | |
Swift | JavaScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swiftui-router
Posts with mentions or reviews of swiftui-router.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-17.
-
How can I access that navigation history stack on a NavigationView?
It’s kind of hard in native SwiftUI, but this might help: https://github.com/frzi/SwiftUIRouter
-
SwiftUI and Generics: A learning barrier?
The magic is definitely weird. The base views with Body == Never are what get me, they feel impossible to replicate. There's like a few projects around navigation in SwiftUI like SwiftUI Router (Federica Zanetello had this cool blog post on using NavigationLink) but yeah navigation is very magical too. I honestly wish Apple would open up the SwiftUI framework a little, there are efforts to recreate Combine in an open source way, but SwiftUI seems tougher. This early on in SwiftUI it's super frustrating to wait between WWDCs for updates and fixes.
navaid
Posts with mentions or reviews of navaid.
We have used some of these posts to build our list of alternatives
and similar projects.
-
What is a Relay EntryPoint
let routes = { '/:owner/:repo': RepositoryViewEntryPoint, }; const matchRoute = (url: string) => routes[url]; const initialPage = loadEntryPoint(matchRoute(location.href)); const App = () => { const { entrypoint, setEntryPoint } = useState(initialPage); useEffect(() => { // Please use something like https://github.com/lukeed/navaid window.addEventListener('pushstate', () => { setEntryPoint(matchRoute(location.href)); }); }, []); return Suspense>; };
What are some alternatives?
When comparing swiftui-router and navaid you can also consider the following projects:
Helm - A graph-based SwiftUI router
interfy - A Javascript library for robust web front-end routing. [Moved to: https://github.com/DenisPower1/interfy]
RouteComposer - Protocol oriented, Cocoa UI abstractions based library that helps to handle view controllers composition, navigation and deep linking tasks in the iOS application. Can be used as the universal replacement for the Coordinator pattern.
director - a tiny and isomorphic URL router for JavaScript
swift-url-routing - A bidirectional router with more type safety and less fuss.
SPApp - Single Page Application micro framework. Views, routes and controllers in 60 lines of code