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

Warn when routes or links specify component instead of Component #108

Merged
merged 1 commit into from
Jul 9, 2017

Conversation

taion
Copy link
Contributor

@taion taion commented Jul 3, 2017

Fixes #105

Is this correct? Should we do the same for links? Or should we just support component?

@taion taion force-pushed the warn-Route-component branch 3 times, most recently from 78395bd to 2b9b726 Compare July 9, 2017 23:17
@taion taion changed the title Warn when routes specify component instead of Component Warn when routes or links specify component instead of Component Jul 9, 2017
@taion
Copy link
Contributor Author

taion commented Jul 9, 2017

I'm going with the warning because the key in the render args object is Component, so it would be inconsistent to allow component on routes.

This isn't necessarily final.

@taion taion force-pushed the warn-Route-component branch from 2b9b726 to 6f6c980 Compare July 9, 2017 23:24
@taion taion merged commit 5d1ac02 into master Jul 9, 2017
@taion taion deleted the warn-Route-component branch July 9, 2017 23:27
@ujovlado
Copy link

Thanks for this! Especially for routes. 👍

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.

2 participants