-
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
[www] Add 'Upgrading to v2' docs page #3986
Comments
@jquense created this file to collect breaking changes which I've adding to as well https://github.com/gatsbyjs/gatsby/blob/v2/Breaking%20Changes.md Once the first beta is out, I'm going to solicit public v1 sites to upgrade and start writing a upgrading docs page from that. |
This update tells developers the new name of the deprecated props to make it easier to upgrade. re gatsbyjs#3986
This update tells developers the new name of the deprecated props to make it easier to upgrade. re #3986
I found this post helpful for an overview: |
Hi guys, is there currently a While upgrading Gatsby’s www to v2, as well as a client site, I found having to pass I’m not sure of the implications of such an API, but being able to do this: import { RouterContext } from 'gatsby'
const Layout = ({ children }) => (
<RouterContext.Consumer>
{({ location, history, match }) => (
// ...rest of code
)}
</RouterContext.Consumer>
) will help a lot of people migrate faster. Another question I have: should sizes and resolutions’ change to fluid and fixed be documented as breaking instead of deprecation? From what I saw, |
I believe you could just wrap your layout component with fluid/fixed isn't a breaking change. If sizes/resolutions were removed from gatsby-source-contentful, we should restore them. |
I'm going to close this as the bulk of the work is done. I don't think the remaining item should block releasing a v2 beta. I've created a new issue for docs on updating pages with layouts for larger sites: #5753 |
Create an Upgrading to Gatsby v2 guide.
The text was updated successfully, but these errors were encountered: