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

Added an additional parameter to the dispatch! function to provide the matched route with optional context. #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dtulig
Copy link
Contributor

@dtulig dtulig commented Jan 24, 2015

This is useful if you don't want to use a global atom and instead want to pass that atom or state at the time you are dispatching. It is also nice to be able to generally pass additional information that might not be part of the URI that is being dispatched.

The :request-context attribute is merged with the same map as :query-params and can be destructed the same way.

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