-
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
docs(gatsby-link): add example of passing state #10137
Conversation
Update docs to show how state is passed through the location object.
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.
Some changes for better syntax highlighting ✨
Please also make sure to format this file with Prettier.
Co-Authored-By: GarrettJMU <[email protected]>
Co-Authored-By: GarrettJMU <[email protected]>
Co-Authored-By: GarrettJMU <[email protected]>
Co-Authored-By: GarrettJMU <[email protected]>
Co-Authored-By: GarrettJMU <[email protected]>
Co-Authored-By: GarrettJMU <[email protected]>
Co-Authored-By: GarrettJMU <[email protected]>
Co-Authored-By: GarrettJMU <[email protected]>
@jgierer12 updated the copy. Good call, much better read now. |
Thank you! Please also download Prettier and use it to format the file, that will get rid of the failing CI too 😉 |
@jgierer12 should pass now. |
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.
Thanks @GarrettJMU and @jgierer12!
Holy buckets, @GarrettJMU — 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! |
Update docs to show how state is passed through the location object. <!-- Q. Which branch should I use for my pull request? A. Use `master` branch (probably). Q. Which branch if my change is a bug fix for Gatsby v1? A. In this case, you should use the `v1` branch Q. Which branch if I'm still not sure? A. Use `master` branch. Ask in the PR if you're not sure and a Gatsby maintainer will be happy to help :) Note: We will only accept bug fixes for Gatsby v1. New features should be added to Gatsby v2. Learn more about contributing: https://www.gatsbyjs.org/docs/how-to-contribute/ -->
Update docs to show how state is passed through the location object.