Skip to content

Pass resolving to component when rendering#617

Open
vikashtank wants to merge 1 commit into
relay-tools:masterfrom
vikashtank:master
Open

Pass resolving to component when rendering#617
vikashtank wants to merge 1 commit into
relay-tools:masterfrom
vikashtank:master

Conversation

@vikashtank
Copy link
Copy Markdown

At the moment the only way to get access to the resolving variable is to replace the Component prop with a render prop. This can be a lot of overhead for a simple route, so passing this variable in as a prop to the component should make the API easier to use and more consistent with what render receives.

At the moment the only way to get access to the resolving variable
is to replace the `Component` prop with a `render` prop. This can be
a lot of overhead for a simple route, so passing this variable in as
a prop to the component should make the API easier to use and more
consistent with what render receives.
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