Lessons

Explore all newline lessons

Tags
Author
Pricing
Sort By
Video
Most Recent
Most Popular
Highest Rated
Reset
https://image.mux.com/IGYJxtOB2bB00us401XC01R2nAbKv2Z6601cMsnvxH02VJzQ/thumbnail.png?time=0

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.

https://image.mux.com/TjhRPUkbYkv4azctcSQ0100PVCEFUe6nIMyyZ3iS3HSZg/thumbnail.png?time=0

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.

https://image.mux.com/xdHmr6DbuN7pI72t78zZth8qIrVhrtUF2gtVAh6sNYI/thumbnail.png?time=0

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.

https://image.mux.com/pAebSPY017PMwzoC9RE6MhLO501VRygNcYUZFdZtkO3SE/thumbnail.png?undefined

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.

https://image.mux.com/VbzJznMM4EyYUEUYILo7iCCaYpVgS8n5RzU1TYKsGZU/thumbnail.png?undefined

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.