Skip to content

Conversation

pthorn
Copy link
Contributor

@pthorn pthorn commented Sep 25, 2014

I found that there is an undocumented prop, name, which is passed to a RouteHandler in addition to params, query, and activeRouteHandler. It is really useful so I added it to the docs (hopefully it's not meant to be internal use only).

@gaearon
Copy link
Contributor

gaearon commented Sep 29, 2014

+1, I didn't know about it and currently have to pass route name manually to generated handlers

mjackson added a commit that referenced this pull request Oct 3, 2014
[fixed] Document the name prop passed to RouteHandlers
@mjackson mjackson merged commit da40847 into remix-run:master Oct 3, 2014
@lock lock bot locked as resolved and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants