Day 6 of 100 Days of Code & Scrum: How to GraphQL Completed
Tags: graphql, webdev, 100daysofcode, beginners
Published: 2021-10-14 11:37:23

Good morning, everyone!

Today was a rather productive day!

I got a lot of networking done for various services, I met both of my GraphQL coding and Scrum studying goals, and I managed to work on my company logo.

![Juggling](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/go9t0fxjxc1rqcili013.png)

I'm starting to get a better hang of balancing coding, studying, and networking. I checked my emails less, and I don't feel as forced to check all notifications on social media. Focusing on one thing at a time is just crucial for productivity.

## Yesterday

I learned about `setContext` and `ApolloClient`'s caching methods such as `readQuery` and `writeQuery`.

## Today

Here are some of the things I've learned:

### GraphQL

- `useLazyQuery` is a version of `useQuery` that needs to be manually executed for it to retrieve data from the server
- `useQuery`, on the other hand, runs automatically when the component mounts
- GraphQL `subscriptions` allows the server to automatically send data to the client side when triggered by a specific event
- with GraphQL `subscriptions`, the client and server have a steady connection instead of following a typical request-and-response cycle
- GraphQL `subscriptions` use `WebSocketLink` which uses a WebSocket connection instead of HTTP (which queries and mutations use).

I managed to finish the React + Apollo client tutorial at https://www.howtographql.com/. It was a pretty useful resource and tutorial.

However, I still think I have a lot of gaps in my knowledge and I can't reliably use the hooks, functions and other concepts yet. I should probably build a project on my own that uses GraphQL, which is most likely going to help me cement my knowledge.

### Scrum

The purpose of the Sprint Retrospective is to:

- Inspect how the last Sprint went with regards to people, relationships, process, and tools.
- Identify and order the major items that went well and potential improvements
- Create a plan for implementing improvements to the way the Scrum Team does its work.

![Double Thumbsup](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/41a7n99bfnxd4vdhg5vz.jpg)

### Resources/Recommended Readings

- [The Fullstack Tutorial for GraphQL](https://www.howtographql.com/)
- [Apollo Docs](https://www.apollographql.com/docs/)
- [The 2020 Scrum Guide](https://scrumguides.org/scrum-guide.html)
- [Mikhail Lapshin's Scrum Quizzes](https://mlapshin.com/index.php/scrum-quizzes/)

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

### DISCLAIMER

**This is not a guide**, it is just me sharing my experiences and learnings. 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>