Day 4 of 100 Days of Code & Scrum: Sleep Deprived Coding
Tags: beginners, webdev, 100daysofcode, graphql
Published: 2021-10-12 11:07:40

Good morning, everyone!

Today, it could be pretty challenging to keep up with the 100 days of code challenge because of impediments. Not only am I sleep-deprived, I also have to go out for five hours for my weekly physical therapy session, as well as buy some groceries.

However, I will do my best to commit to my plans!

![Rambo Thumbsup](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ourf85t0b8untcu5neok.jpg)

## Yesterday

I began to finally understand `ApolloProvider`, `ApolloClient`, `createHttpLink`, and `InMemoryCache`. I also practiced `useQuery` and `useMutation`, but I couldn't understand them yet.

Let's see if I can grasp these concepts today...

## Today

Pretty rough day and I got distracted a lot, but I managed to commit anyway!

Here are some of the things I've learned:

### GraphQL

- I prefer making a `graphql` folder to separate the definitions, it also makes my files cleaner and organized
- `useQuery` - used to retrieve data from the server. it takes in a query document and returns `loading`, `error`, and `data`.
  - `data` - typically is what the frontend developer is concerned, which contains the data retrieved from the server
  - `error` - if ever the request fails, it will contain information about what went wrong
  - `loading` - indicates whether the request is ongoing if it's `true`
- `useMutation` - used to change data in the server, it takes in a mutation document and `options` object as the second parameter which contains properties such as `variables`

### Scrum

The Scrum Master serves the Product Owner in several ways, including:

- Ensuring that goals, scope, and product domain are understood by everyone on the Scrum Team as well as possible
- Finding techniques for effective Product Backlog management
- Helping the Scrum Team understand the need for clear and concise Product Backlog items
- Understanding product planning in an empirical environment
- Ensuring the Product Owner knows how to arrange the Product Backlog to maximize value
- Understanding and practicing agile practices
- Facilitating Scrum events as requested or needed

![Sleep More Code More](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mfjcc488fqhyg1quysy3.png)

How is everyone doing in their learning journey? Feel free to chat with me in the comments and/via DM!

### DISCLAIMER

This post only expresses my thoughts and opinions (based on my limited knowledge) and is in no way a substitute for actual references. If I ever make a mistake or if you disagree, I would appreciate corrections in the comments!

### Other Media

Feel free to reach out to me in other media!

<span><a target="_blank" href="https://www.rammina.com/"><img src="https://res.cloudinary.com/rammina/image/upload/v1638444046/rammina-button-128_x9ginu.png" alt="Rammina Logo" width="128" height="50"/></a></span>

<span><a target="_blank" href="https://twitter.com/RamminaR"><img src="https://res.cloudinary.com/rammina/image/upload/v1636792959/twitter-logo_laoyfu_pdbagm.png" alt="Twitter logo" width="128" height="50"/></a></span>

<span><a target="_blank" href="https://github.com/Rammina"><img src="https://res.cloudinary.com/rammina/image/upload/v1636795051/GitHub-Emblem2_epcp8r.png" alt="Github logo" width="128" height="50"/></a></span>