This is a Gatsby v2 compatible version of the lumen starter, started by the folks at Gatsby Central.
import React from 'react'
import { Link, graphql } from 'gatsby'
import Helmet from 'react-helmet'
import kebabCase from 'lodash/kebabCase'
import Layout from '../components/Layout'
import Sidebar from '../components/Sidebar'
class TagsRoute extends React.Component {
render() {
const { title } = this.props.data.site.siteMetadata
const tags = this.props.data.allMarkdownRemark.group
Here’s a little recommended reading for Gatsby v2.
If you do decide to upgrade, these articles will help you do that.
Finally, here’s a cheat sheet we prepared to help during the upgrade: