director
a tiny and isomorphic URL router for JavaScript (by flatiron)
navaid
A navigation aid (aka, router) for the browser in 850 bytes~! (by lukeed)
Our great sponsors
director | navaid | |
---|---|---|
- | 1 | |
5,617 | 756 | |
-0.1% | - | |
0.0 | 3.4 | |
over 3 years ago | 3 months ago | |
JavaScript | 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.
director
Posts with mentions or reviews of director.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning director yet.
Tracking mentions began in Dec 2020.
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 director and navaid you can also consider the following projects:
page.js - Micro client-side router inspired by the Express router
crossroads - JavaScript Routes
swiftui-router - Path-based routing in SwiftUI
pathjs - Simple, lightweight routing for web browsers
interfy - A Javascript library for robust web front-end routing.
frontexpress - An Express.js-Style router for the front-end
davis.js - RESTful degradable JavaScript routing using pushState