nanorouter icon indicating copy to clipboard operation
nanorouter copied to clipboard

🛤 - Small frontend router

Results 4 nanorouter issues
Sort by recently updated
recently updated
newest added

Over at hypervision there's an issue which seems to be nanorouter-related..? [https://github.com/mafintosh/hypervision/issues/33](url) Altering the pattern of the 'electron' regex to catch the Windows drive letter seems to fix it, but...

When trying to use choo on a static site hosted by Github pages, the app lives on a subpath (like `https://tnguyen14.github.io/projectname/my-app`. This is breaking the router, as it doesn't match...

Priority: High

When https://github.com/choojs/nanorouter/pull/9 lands, we should deprecate the other API. We should probably also take that chance to deprecate `.curry` (related to #10) and rewrite this to prototypes (as per #6).

```js var nanorouter = require('nanorouter') var router = nanorouter() router.route('default', function (params) { }) router.route('/foo/:bar', function (params) { }) router.match(window.location) ``` Base it on prototypes - and that's it I...