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

Provided default Navigation Context value #165

Merged
merged 4 commits into from
Mar 31, 2018
Merged

Conversation

grahammendick
Copy link
Owner

For consistency, provided the same default value in all versions of React (not just when using new context api)

Allows components to render outside of context. Works even if not using the new context api. Swapped order of context or props in Links because there's always a default value passed in props
@grahammendick grahammendick merged commit 48aaedc into master Mar 31, 2018
@grahammendick grahammendick deleted the context-default branch March 31, 2018 13:12
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