-
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
fix(gatsby-link): Adds Type, PropType, tests, and docs for state
prop
#20807
fix(gatsby-link): Adds Type, PropType, tests, and docs for state
prop
#20807
Conversation
https://www.gatsbyjs.org/docs/location-data-from-props/#example-of-providing-state-to-a-link-component Signed-off-by: Tim Osborn <tim@memelab.com.au>
Signed-off-by: Tim Osborn <tim@memelab.com.au>
Signed-off-by: Tim Osborn <tim@memelab.com.au>
Signed-off-by: Tim Osborn <tim@memelab.com.au>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solid stuff!
Holy buckets, @ptim — we just merged your PR to Gatsby! 💪💜 Gatsby is built by awesome people like you. Let us say “thanks” in two ways:
If there’s anything we can do to help, please don’t hesitate to reach out to us: tweet at @gatsbyjs and we’ll come a-runnin’. Thanks again! |
Woah - I missed all the action! Thanks so much everyone 😀🙏 |
Description
Adds Type, PropType, tests, and docs for
state
propDocumentation
Updates https://www.gatsbyjs.org/docs/location-data-from-props/#example-of-providing-state-to-a-link-component to agree with https://www.gatsbyjs.org/docs/gatsby-link/ and cross links both documents.
Another relevant page is https://www.gatsbyjs.org/docs/linking-between-pages/ but this already links to the GatsbyLink API docs, so I'm avoiding link soup here. Can add more cross linking if required.
Related Issues
Related to: #3552