Skip to content

Conversation

jackmoore
Copy link

Params will only ever be an empty object, because the enroute function always passes an empty object and the only way match is invoked is through enroute. IMO, it would be better form for match to return a param object that it defines rather than mutating a parameter.

Params will only ever be an empty object, because the enroute function always passes an empty object and the only way match is invoked is through enroute.  IMO, it would be better form for match to return a param object that it defines rather than mutating a parameter.
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