diff --git a/examples/gatsby/README.md b/examples/gatsby/README.md index 520bf9396fdea5..66dcd3982dc879 100644 --- a/examples/gatsby/README.md +++ b/examples/gatsby/README.md @@ -19,3 +19,9 @@ npm run develop ## The idea behind the example [Gatsby](https://github.com/gatsbyjs/gatsby) is a static site generator for React. + +## `withRoot` usage + +We are using the `withRoot` higher-order component to accommodate Material-UI's styling solution with Gatsby. + +⚠️ You should only use a single `withRoot` for rendering one page.