Lessons

Explore all newline lessons

Tags
Author
Pricing
Sort By
Video
Most Recent
Most Popular
Highest Rated
Reset
How to Use Apollo to Test GraphQL Requests in React

lesson

How to Use Apollo to Test GraphQL Requests in ReactTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two

In this lesson, we'll talk about one other minor testing utility we'll use to help mock GraphQL requests in our tests - Apollo React Testing.

Using Jest and React Testing Library to Test React Components

lesson

Using Jest and React Testing Library to Test React ComponentsTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two

In this lesson, we'll talk about the two main testing tools we'll use to test our React components - Jest & React Testing Library.

Build Example Mock Data to Test a GraphQL Server

lesson

Build Example Mock Data to Test a GraphQL ServerThe newline Guide to Building Your First GraphQL Server with Node and TypeScript

To help us get started, we'll begin by introducing a mock data array of rental listings in this lesson. This will help us get started before we begin to address more appropriate data persistence.

Coding a Comments Section that Requires Manual Content Approval

lesson

Coding a Comments Section that Requires Manual Content ApprovalThe newline Guide to Full Stack Comments with Hasura and React

Right now, all the comments are public instantly. However, we may want to review the comments before showing them to other users. This is what we'll cover in this lesson.

An Overview of Optimistic Updates for React Hooks

lesson

An Overview of Optimistic Updates for React HooksThe newline Guide to Full Stack Comments with Hasura and React

We'll learn about optimistic updates and add them to our hook's implementation to improve the user experience.