Skip to content

Commit

Permalink
Run prettier (#10755)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-allanson authored and DSchau committed Jan 1, 2019
1 parent 0305c56 commit b03748d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/client-data-fetching.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Client data fetching

Because a Gatsby site hydrates into a React app after loading statically, Gatsby is not just for static sites. You can fetch data dynamically on the client, as needed, as you would with any other React app.

To illustrate this, we'll walk through a small example site that uses both Gatsby's data layer at build-time and data on the client at run-time. This example is based loosely on Jason Lengstorf's [Gatsby with Apollo](https://github.com/jlengstorf/gatsby-with-apollo) example. We'll be fetching character data for Rick (of Rick and Morty) and a random pupper image.
To illustrate this, we'll walk through a small example site that uses both Gatsby's data layer at build-time and data on the client at run-time. This example is based loosely on Jason Lengstorf's [Gatsby with Apollo](https://github.com/jlengstorf/gatsby-with-apollo) example. We'll be fetching character data for Rick (of Rick and Morty) and a random pupper image.

> Note: Check out the [full example here](https://github.com/amberleyromo/gatsby-client-data-fetching), if helpful.
Expand Down Expand Up @@ -210,7 +210,7 @@ class ClientFetchingExample extends Component {
export default ClientFetchingExample
```
That's it -- an example of querying for data at build time using the Gatsby GraphQL data layer and dynamically requesting data on the client at run time.
That's it -- an example of querying for data at build time using the Gatsby GraphQL data layer and dynamically requesting data on the client at run time.

## Other resources

Expand Down

0 comments on commit b03748d

Please sign in to comment.