Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .match method which returns {handler, params, route} #8

Closed
wants to merge 1 commit into from

Conversation

marcbachmann
Copy link
Contributor

@marcbachmann marcbachmann commented Dec 27, 2017

I've used this code in choojs/choo#613 to fix some state management.
We could move the .match method back into wayfarer and just expose it in here.
In choojs/choo#613 we don't use the .emit method anymore, so we could also save some bytes if we just move some parts into the trie file and not depend on wayfarer/index anymore.

@marcbachmann
Copy link
Contributor Author

I'll close this for now as I'm doing some smaller PRs.
There's #9 and choojs/wayfarer#64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant