When comparing crossroads.js vs davis.js, the Slant community recommends crossroads.js for most people. In the question“What are the best JavaScript routing libraries?” crossroads.js is ranked 1st while davis.js is ranked 3rd. The most important reason people chose crossroads.js is:
This is the beefiest library of them all. You can sub-route. You can dynamically add routes. It will try to typecast routes (or not if you prefer).
Ranked in these QuestionsQuestion Ranking
Pros
Pro Infinite flexibility
This is the beefiest library of them all. You can sub-route. You can dynamically add routes. It will try to typecast routes (or not if you prefer).
Cons
Con Not actively maintained anymore
6 pull requests open in 2019, last PR closed in 2015.
Last issue closed in September 2016
Question: Is this project still alive?
https://github.com/millermedeiros/crossroads.js/issues/155
Con Imperative Approach
Routes are programmed rather than declared which make the code less readable.
Con No longer maintained
Latest commit on master dates from 2014
Apparently the website is gone too:
https://github.com/olivernn/davis.js/issues/98