diff --git a/docs/docs/gatsby-starters.md b/docs/docs/gatsby-starters.md
index e62a68e0c480d..e7009ef028075 100644
--- a/docs/docs/gatsby-starters.md
+++ b/docs/docs/gatsby-starters.md
@@ -288,11 +288,11 @@ Community:
* Colorful homepage, and also includes a Landing Page and Generic Page components.
* Many elements are available, including buttons, forms, tables, and pagination.
* Styling with SCSS
-
+
* [gatsby-firebase-authentication](https://github.com/rwieruch/gatsby-firebase-authentication) [(demo)](https://react-firebase-authentication.wieruch.com/)
-
+
Features:
-
+
* Sign In, Sign Up, Sign Out
* Password Forget
* Password Change
diff --git a/packages/gatsby-plugin-styletron/src/gatsby-browser.js b/packages/gatsby-plugin-styletron/src/gatsby-browser.js
index 26aa113d9977f..d8af19e78c44b 100644
--- a/packages/gatsby-plugin-styletron/src/gatsby-browser.js
+++ b/packages/gatsby-plugin-styletron/src/gatsby-browser.js
@@ -2,10 +2,12 @@ const React = require(`react`)
const Styletron = require(`styletron-client`)
const { StyletronProvider } = require(`styletron-react`)
-const styletron = new Styletron()
-
-exports.wrapRootComponent = ({ Root }) => () => (
-
-
-
-)
+exports.wrapRootComponent = ({ Root }) => () => {
+ const styleElements = document.getElementsByClassName(`_styletron_hydrate_`)
+ const styletron = new Styletron(styleElements)
+ return (
+
+
+
+ )
+}
diff --git a/packages/gatsby-plugin-styletron/src/gatsby-ssr.js b/packages/gatsby-plugin-styletron/src/gatsby-ssr.js
index bc4db43737092..7ff670009f448 100644
--- a/packages/gatsby-plugin-styletron/src/gatsby-ssr.js
+++ b/packages/gatsby-plugin-styletron/src/gatsby-ssr.js
@@ -18,9 +18,14 @@ exports.replaceRenderer = ({
const stylesheets = styletron.getStylesheets()
const headComponents = stylesheets.map((sheet, index) => (
-
+
))
setHeadComponents(headComponents)
diff --git a/packages/gatsby/src/commands/data-explorer.js b/packages/gatsby/src/commands/data-explorer.js
index a155b8e93c7b9..803b1e93ab5f4 100644
--- a/packages/gatsby/src/commands/data-explorer.js
+++ b/packages/gatsby/src/commands/data-explorer.js
@@ -24,4 +24,3 @@ module.exports = async (program: any) => {
console.log(`Gatsby data explorer running at`, `http://${host}:${port}`)
app.listen(port, host)
}
-