Media is too big
VIEW IN TELEGRAM
20. Editing & Deleting Issues
Scott discusses the input arguments required for editing an issue, such as the issue ID and optional fields like name, content, and status. He also demonstrates how to create the resolver for the edit issue mutation, which includes authentication checks and updating the issue in the database. The delete functionality is left as an extra credit task for both the server-side and client-side courses.
#lesson
Scott discusses the input arguments required for editing an issue, such as the issue ID and optional fields like name, content, and status. He also demonstrates how to create the resolver for the edit issue mutation, which includes authentication checks and updating the issue in the database. The delete functionality is left as an extra credit task for both the server-side and client-side courses.
#lesson
Media is too big
VIEW IN TELEGRAM
21. Wrapping Up
Scott wraps up the course by providing recommendations for using GraphQL going forward. He suggests figuring out where to install GraphQL, such as on the edge or as an API gateway, and choosing a framework like Apollo or GraphQL Yoga.
#lesson
Scott wraps up the course by providing recommendations for using GraphQL going forward. He suggests figuring out where to install GraphQL, such as on the edge or as an API gateway, and choosing a framework like Apollo or GraphQL Yoga.
#lesson
Title: Client-Side GraphQL with React, v2
Description: Wire up a React client application with dynamic data while learning the fundamentals of GraphQL queries and mutations.
Link: https://frontendmasters.com/courses/client-graphql-react-v2/
Time: 2 hours, 54 minutes
Lessons: 17 / 17
Tags: #course #frontendmasters #720p
Description: Wire up a React client application with dynamic data while learning the fundamentals of GraphQL queries and mutations.
Link: https://frontendmasters.com/courses/client-graphql-react-v2/
Time: 2 hours, 54 minutes
Lessons: 17 / 17
Tags: #course #frontendmasters #720p
Frontendmasters
Learn to use GraphQL in React applications
Wire up a React client application with dynamic data while learning the fundamentals of GraphQL queries and mutations.
This media is not supported in your browser
VIEW IN TELEGRAM
1. Introduction
Scott introduces the course and discusses the course prerequisites, including knowledge of React and JavaScript, as well as some experience with interacting with APIs. He also provides a brief overview of the app and what will be covered in the course.
- https://github.com/Hendrixer/clientside-gql
- https://clumsy-humor-894.notion.site/Client-side-GraphQL-with-React-4248372d51604858aaf9eeb9127b6433
#lesson
Scott introduces the course and discusses the course prerequisites, including knowledge of React and JavaScript, as well as some experience with interacting with APIs. He also provides a brief overview of the app and what will be covered in the course.
- https://github.com/Hendrixer/clientside-gql
- https://clumsy-humor-894.notion.site/Client-side-GraphQL-with-React-4248372d51604858aaf9eeb9127b6433
#lesson
Media is too big
VIEW IN TELEGRAM
2. Course Setup
Scott provides a setup guide and explains the tools and dependencies needed, such as Git, Node.js, and Turso. He walks through the process of creating a Turso account, downloading the CLI, and creating a token for the database. He also explains how to set up environment variables and push the schema to the database.
#lesson
Scott provides a setup guide and explains the tools and dependencies needed, such as Git, Node.js, and Turso. He walks through the process of creating a Turso account, downloading the CLI, and creating a token for the database. He also explains how to set up environment variables and push the schema to the database.
#lesson
Media is too big
VIEW IN TELEGRAM
3. What is GraphQL
Scott describes GraphQL as a powerful query language for APIs that allows clients to request exactly what they need and nothing more. He discusses the advantages of GraphQL over REST, such as type safety and the ability to query highly relational data in any format. Scott also provides examples of GraphQL queries and explains the basic building blocks of a query, including fields, nested objects, and arguments.
- https://clumsy-humor-894.notion.site/1-What-is-GraphQL-a546f53b61654cd6aee6e55bd5ac19c9
#lesson
Scott describes GraphQL as a powerful query language for APIs that allows clients to request exactly what they need and nothing more. He discusses the advantages of GraphQL over REST, such as type safety and the ability to query highly relational data in any format. Scott also provides examples of GraphQL queries and explains the basic building blocks of a query, including fields, nested objects, and arguments.
- https://clumsy-humor-894.notion.site/1-What-is-GraphQL-a546f53b61654cd6aee6e55bd5ac19c9
#lesson
Media is too big
VIEW IN TELEGRAM
4. GraphQL Playground in Apollo Studio
Scott introduces the Star Wars API and demonstrates how to use the provided Apollo Studio app to retrieve data from the API. He also explains the syntax for using arguments in GraphQL queries and demonstrates how to pass arguments to retrieve specific data.
#lesson
Scott introduces the Star Wars API and demonstrates how to use the provided Apollo Studio app to retrieve data from the API. He also explains the syntax for using arguments in GraphQL queries and demonstrates how to pass arguments to retrieve specific data.
#lesson
This media is not supported in your browser
VIEW IN TELEGRAM
5. Project App Tour
Scott introduces the application that will be built and provides a brief overview of its functionality. He demonstrates how to run the completed app and explains that this course will focus on writing the queries and mutations in GraphQL for the desired user experience.
#lesson
Scott introduces the application that will be built and provides a brief overview of its functionality. He demonstrates how to run the completed app and explains that this course will focus on writing the queries and mutations in GraphQL for the desired user experience.
#lesson
This media is not supported in your browser
VIEW IN TELEGRAM
6. GraphQL Query with fetch
Scott discusses using fetch to send a GraphQL query as a POST request, with the query stringified and included in the body of the request. When using GraphQL, all responses have a 200 status code and errors are indicated in the "errors" field of the response data. He highlights the importance of checking the payload of the response to determine if there were any errors, as browsers and clients may not automatically recognize and display GraphQL errors.
- https://clumsy-humor-894.notion.site/3-GQL-API-Calls-40d8f4107c2c4758b04371ebf55841a4
#lesson
Scott discusses using fetch to send a GraphQL query as a POST request, with the query stringified and included in the body of the request. When using GraphQL, all responses have a 200 status code and errors are indicated in the "errors" field of the response data. He highlights the importance of checking the payload of the response to determine if there were any errors, as browsers and clients may not automatically recognize and display GraphQL errors.
- https://clumsy-humor-894.notion.site/3-GQL-API-Calls-40d8f4107c2c4758b04371ebf55841a4
#lesson
Media is too big
VIEW IN TELEGRAM
7. Setup Urql Provider & Caching
Scott introduces the Urql library as a lightweight alternative to Apollo for client-side GraphQL. He walks through the process of setting up the urql client in a React app by creating a GQLProvider component that wraps the entire app and provides the client instance. The GQLProvider uses the Urql library to create a client with the necessary plugins and options, including the cache exchange and fetch options.
- https://clumsy-humor-894.notion.site/4-Urql-Er-kull-f978259d84c148df819e2ace9a45ac5c
#lesson
Scott introduces the Urql library as a lightweight alternative to Apollo for client-side GraphQL. He walks through the process of setting up the urql client in a React app by creating a GQLProvider component that wraps the entire app and provides the client instance. The GQLProvider uses the Urql library to create a client with the necessary plugins and options, including the cache exchange and fetch options.
- https://clumsy-humor-894.notion.site/4-Urql-Er-kull-f978259d84c148df819e2ace9a45ac5c
#lesson
Media is too big
VIEW IN TELEGRAM
8. Next.js & Course Project Q&A
Scott answers various questions from students such as the use of parentheses in Next.js routes, the relevance of server-side rendering (SSR) and caching in Next.js, when to use types in code, the advantages of using GraphQL in a microservice architecture, and setting headers in the Next.js config for access control.
#lesson
Scott answers various questions from students such as the use of parentheses in Next.js routes, the relevance of server-side rendering (SSR) and caching in Next.js, when to use types in code, the advantages of using GraphQL in a microservice architecture, and setting headers in the Next.js config for access control.
#lesson
Media is too big
VIEW IN TELEGRAM
9. Creating a Sign Up Mutation
Scott demonstrates how to use the GraphQL API explorer to create a mutation for signing up a user. He walks through the process of creating the mutation, specifying the required input arguments, and selecting the desired fields to be returned. He also explains the concept of input arguments, how they map to the variables passed in the GraphQL query, and how to export the mutation and use it in a separate file for the sign-up functionality.
- https://clumsy-humor-894.notion.site/5-Auth-b937ee9682d746a5a53ee96450686966
#lesson
Scott demonstrates how to use the GraphQL API explorer to create a mutation for signing up a user. He walks through the process of creating the mutation, specifying the required input arguments, and selecting the desired fields to be returned. He also explains the concept of input arguments, how they map to the variables passed in the GraphQL query, and how to export the mutation and use it in a separate file for the sign-up functionality.
- https://clumsy-humor-894.notion.site/5-Auth-b937ee9682d746a5a53ee96450686966
#lesson
Media is too big
VIEW IN TELEGRAM
10. Using Mutations in React
Scott demonstrates how to implement sign-up and sign-in functionality using GraphQL mutations. He creates the mutations and uses the `useMutation` hook to handle the mutations in the component. Scott also shows how to handle the response from the server and perform actions such as setting the token in local storage and redirecting the user to the homepage.
- https://clumsy-humor-894.notion.site/5-Auth-b937ee9682d746a5a53ee96450686967
#lesson
Scott demonstrates how to implement sign-up and sign-in functionality using GraphQL mutations. He creates the mutations and uses the `useMutation` hook to handle the mutations in the component. Scott also shows how to handle the response from the server and perform actions such as setting the token in local storage and redirecting the user to the homepage.
- https://clumsy-humor-894.notion.site/5-Auth-b937ee9682d746a5a53ee96450686967
#lesson
Media is too big
VIEW IN TELEGRAM
11. Nested Data Queries
Scott demonstrates how to make a query to retrieve issues from a GraphQL server using Apollo Studio to explore the schema and write the query. He also explains the concept of nested queries and the potential performance issues that can arise from recursive queries. Scott then shows an example of a recursive query and mentions some potential solutions to handle these performance issues.
- https://clumsy-humor-894.notion.site/6-Issues-query-d5560fd59bc1426b9131fa5e892ed540
#lesson
Scott demonstrates how to make a query to retrieve issues from a GraphQL server using Apollo Studio to explore the schema and write the query. He also explains the concept of nested queries and the potential performance issues that can arise from recursive queries. Scott then shows an example of a recursive query and mentions some potential solutions to handle these performance issues.
- https://clumsy-humor-894.notion.site/6-Issues-query-d5560fd59bc1426b9131fa5e892ed540
#lesson
Media is too big
VIEW IN TELEGRAM
12. Project Issues Queries
Scott explains how to create a query to fetch data from a GraphQL server using Urql in a React application. He demonstrates how to define the query, import it into the app, and use the `useQuery` hook to execute the query and handle loading and error states. He also shows how to map over the data and render the results in the component.
#lesson
Scott explains how to create a query to fetch data from a GraphQL server using Urql in a React application. He demonstrates how to define the query, import it into the app, and use the `useQuery` hook to execute the query and handle loading and error states. He also shows how to map over the data and render the results in the component.
#lesson
Media is too big
VIEW IN TELEGRAM
13. Wiring Queries to the UI
Scott demonstrates how to implement a create issue functionality in a web application using GraphQL and Apollo. He explains the process of making a mutation request to the server, handling the response, and updating the UI to display the newly created issue without having to refresh the page.
#lesson
Scott demonstrates how to implement a create issue functionality in a web application using GraphQL and Apollo. He explains the process of making a mutation request to the server, handling the response, and updating the UI to display the newly created issue without having to refresh the page.
#lesson
Media is too big
VIEW IN TELEGRAM
14. Refreshing Issues & Optimistic Updates
Scott discusses different solutions for updating data in a to-do list without refreshing the page. He explores options such as rerunning the query, using real-time updates, and implementing optimistic updates. Scott also briefly explains the purpose of the .db and .migrations folders in the project, which are related to the database schema and migrations.
#lesson
Scott discusses different solutions for updating data in a to-do list without refreshing the page. He explores options such as rerunning the query, using real-time updates, and implementing optimistic updates. Scott also briefly explains the purpose of the .db and .migrations folders in the project, which are related to the database schema and migrations.
#lesson
Media is too big
VIEW IN TELEGRAM
15. Update Issue Mutation
Scott explains how to implement a mutation to edit an issue in a GraphQL schema. He demonstrates how to create the mutation in the schema and then import and use it in the component where the editing functionality will be implemented. Scott also discusses how Urql, a caching library, can automatically update the cache when the mutation is performed, without the need for a network request.
- https://clumsy-humor-894.notion.site/8-Update-issue-ee026a482ec34fb1adc6968fe3ee0876
#lesson
Scott explains how to implement a mutation to edit an issue in a GraphQL schema. He demonstrates how to create the mutation in the schema and then import and use it in the component where the editing functionality will be implemented. Scott also discusses how Urql, a caching library, can automatically update the cache when the mutation is performed, without the need for a network request.
- https://clumsy-humor-894.notion.site/8-Update-issue-ee026a482ec34fb1adc6968fe3ee0876
#lesson
Media is too big
VIEW IN TELEGRAM
16. Urql Q&A
Scott discusses interacting with the local cache in Urql and answers a student's question regarding Urql compared to Apollo. He also discusses the use case for tools like Click for moving data between different sources.
#lesson
Scott discusses interacting with the local cache in Urql and answers a student's question regarding Urql compared to Apollo. He also discusses the use case for tools like Click for moving data between different sources.
#lesson
This media is not supported in your browser
VIEW IN TELEGRAM
17. Wrapping Up
Scott wraps up the course by recommending building a UI where users can delete an issue using GraphQL mutations. He also mentions additional resources such as alternative libraries, code generation, and best practices in the GraphQL documentation.
#lesson
Scott wraps up the course by recommending building a UI where users can delete an issue using GraphQL mutations. He also mentions additional resources such as alternative libraries, code generation, and best practices in the GraphQL documentation.
#lesson
Title: Web Development Project: Personal Portfolio Website
Description: Create a personal portfolio website from scratch using HTML and CSS. Master responsive design techniques, CSS layout tools, and best practices for showcasing your work across devices.
Link: https://frontendmasters.com/courses/portfolio-website/
Time: 5 hours, 5 minutes
Lessons: 34 / 34
Tags: #course #frontendmasters #720p
Description: Create a personal portfolio website from scratch using HTML and CSS. Master responsive design techniques, CSS layout tools, and best practices for showcasing your work across devices.
Link: https://frontendmasters.com/courses/portfolio-website/
Time: 5 hours, 5 minutes
Lessons: 34 / 34
Tags: #course #frontendmasters #720p
Frontendmasters
Build a Responsive Portfolio Site | HTML, CSS, Flexbox & Grid
Create a personal portfolio website from scratch using HTML and CSS. Master responsive design techniques, CSS layout tools, and best practices for showcasing your work across devices.
❤1