Skip to content

Instantly share code, notes, and snippets.

@m-allanson
Last active August 16, 2018 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m-allanson/7afe95ac55e8b870b4691ca15e9534e3 to your computer and use it in GitHub Desktop.
Save m-allanson/7afe95ac55e8b870b4691ca15e9534e3 to your computer and use it in GitHub Desktop.
Gatsby Gazette 2018-08-16

Hey folks,

Here's the all new "Gatsby Gazette". It's new because I changed the name.

Let's get down to business:

  • Event news - a lot of the Gatsby team will be in Portland (the city in Oregon USA, not the tiny island off the South coast of England), so there'll be a Gatsby team meetup, check out @jlengstorf's post just below this one.

That v2 release candidate is getting closer. As a change from the normal format of these posts let's take a short tour through some recent pull requests.

  • #6801 Is an internal change, updating the way Gatsby loads babel configs to use new APIs available in babel 7.

  • #7204 Adds a couple of APIs that make it easier to insert components into Gatsby's component tree.

    The new wrapRootElement API is useful for adding 'providers' like redux or your favourite CSS-in-JS library - say goodbye to those "duplicate replaceRenderer" error messages. Once this PR is merged there'll be a new using-multiple-providers example which uses JSS, Styled Components, Redux and Apollo Client in the same site 😱

    The wrapPageElement API can be used to add elements after the router but before your page. This enables things like persistent layout behaviour when you need it (see #6127). The PR also add a gatsby-plugin-layout package that wraps the new API into a plugin.

  • As a final item for this week, Gatsby has its first codemod :hooray: Thanks to @jquense for this one. You can use it when updating v1 sites to v2. There are a few more codemods on the wishlist if anyone feels like digging in :)

Next week much of the Gatsby team will be in Portland, intensely planning for Gatsby v2 and beyond. We'll be keeping a collective eye on the repo, but expect things to be a bit quieter than usual from the Gatsby Inkteam. Until then, here's the v2 project Epic.

P.S - Are you interested in hearing more about recent pull requests? Should we do this again in the future? What else would you like to see in these posts? Speak your mind :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment