Part of a series on Gatsby v2
This is a short cheat sheet to remind you of the refactoring changes needed to move from Gatsby v1 to Gatsby v2. Click each point for the full documentation.
import { Link } from ‘gatsby’ instead of gatsby-link
yarn remove gatsby-linkimport { graphql } from ‘gatsby’ (was magic global in v1)If you'd like to share this post, here are some handy links to make that easier.
Post last updated: July 16, 2018
Feedback? A point to make? Express yourself via the comment form below.
Don't forget to check the captcha. Otherwise we won't receive your comment.
Be the first to post a comment on this post