-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Change prop name "pathContext" to "pageContext" #1456
Comments
Maybe gatsby can throw warnings when building with deprecated |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Totally agree, |
Merged into v2 branch. Going to close this. |
This when creating pages you can add a
context
key. All data passed there is passed into pages aspathContext
. I thinkpageContext
is a more intuitive name as its context for the "page" which is the main object not "path", an attribute of the page.Since we're at 1.0, we can just pass in both and then remove
pathContext
at the next major release.Any thoughts?
The text was updated successfully, but these errors were encountered: