nanorouter
nanorouter copied to clipboard
deprecate the non `.match()` API
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).
The new .match method only returns a matched route, but doesn't invoke the handler.
So I'd still keep the .emit method.
@marcbachmann yeah, alright. Sounds fair!