Skip to content

Commit 2790691

Browse files
author
Kian Khoshnoodpour
committed
docs: formatting
1 parent 1ba8931 commit 2790691

17 files changed

+44
-32
lines changed

internals/wiki/00-development-environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ The development environment described here is the most commonly used one and the
99
1. Run `yarn` from the root folder of the cloned folder
1010
1. Open the cloned folder using VSCode
1111

12-
Now we're all set to use GraphQL!
12+
Now we're all set!

internals/wiki/01-my-first-query.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Chapter 1: My first query
22

3-
> [Frontend, Backend]
3+
> [Frontend, Backend]
4+
> Continues from branch `master`
45
56
In this assignment we're going to add a new query that we can use in our application. We do this by:
67

internals/wiki/02-calling-graphql-from-react.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Chapter 2 - Calling GraphQL from React
22

3-
> [Frontend]
3+
> [Frontend]
4+
> Continues from branch `chapter-1-solution`
45
56
In this chapter we'll use the GraphQL query we defined in chapter 1 and display it in our React application.
67

internals/wiki/03-server-side-rendering.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Chapter 3: Server Side Rendering
22

3-
> [Frontend]
3+
> [Frontend]
4+
> Continues from branch `chapter-2-solution`
45
56
In the previous chapter we connected to GraphQL and showed the data in our application. What might not be obvious, is that we're performing the query server-side. The component is rendered on the server and the entire HTML including our component is returned.
67

internals/wiki/04-covid-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Chapter 4: Project - COVID app
22

3-
> [Backend, Frontend]
3+
> [Backend, Frontend]
44
> Continue from branch `master`
55
66
In this chapter we're going to use what we learned so far to build a covid app.

internals/wiki/05-paging.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Chapter 5: Paging
22

3-
> [Frontend, Backend]
4-
5-
Resume from `chapter-3-solutions`
3+
> [Frontend, Backend]
4+
> Continues from `chapter-3-solutions`
65
76
In this chapter we add paging to our query. There are many ways to implement paging in an API. The most common ones are to either use a `page` or an `offset`. Or if you're really cool, you'll use a `cursor`. The following section explains the first two paging schemes. If you already know how to implement paging in API's, you can skip this section and start at the first assignment of the chapter.
87

internals/wiki/06-lazy-queries.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Chapter 6: Lazy queries
22

3-
> [Frontend]
3+
> [Frontend]
4+
> Continues from `chapter-5-solution`
45
56
In the previous chapters we used query hooks to get our data from GraphQL. In all our cases we retrieved the data immediatly on page load.
67

internals/wiki/07-mutations.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Chapter 7: Mutations
22

3-
> [Frontend, Backend]
3+
> [Frontend, Backend]
4+
> Continues from `chapter-6-solution`
45
56
So far we've learned how to display data from our GraphQL API. In this chapter we're going to learn how to change or update our data using GraphQL.
67

internals/wiki/08-fragments.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Chapter 8: Fragments
22

3-
> [Frontend]
4-
3+
> [Frontend]
54
> Continues from branch `chapter-7-solution`
65
76
A common best practice is to split React components into separate stateless and stateful components, also referred to as dumb and smart components. So far we've been building stateful components: The component handles both data fetching as well as styling. There are a few ways we can split our components while still using the GraphQL type system.

internals/wiki/09-union-types.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Chapter 9: Union Types
22

3-
> [Frontend, Backend]
4-
3+
> [Frontend, Backend]
54
> Continues from branch `chapter-8-solution`
65
76
In this chapter we will go through the use cases for `unions` and how to implement them in our GraphQL schema. The Union type indicates that a field can return more than one object type, but doesn't define specific fields itself.

0 commit comments

Comments
 (0)