logo
Egghead – Refactor a React Application to TypeScript 2022-6

Egghead – Refactor a React Application to TypeScript 2022-6

Published on: 2023-01-03 14:59:26

Categories: 28

Share:

Descriptions

TypeScript has been growing in popularity among companies who build their products with React, and for good reason!

Types play nicely when working with components, and lead to a super smooth developer experience.

But what if your application is already being shipped and continuously deployed? It doesn’t mean you can’t take advantage of everything TypeScript has to offer.

Refactoring an application to TypeScript doesn’t have to be daunting. Follow Chance’s lead, and you’ll be well on your way!

The course starts with an overview of some of Chance’s favorite tools and their TypeScript-specific settings. These tools will help you search your project’s TypeScript paths for auto-importing, a shorthand tool for writing JSX and TypeScript to speed up your writing, and a tool for helping you to maintain your code to a high quality.

The tools are Emmet, ESLint, Prettier, and a variety of VSCode extensions. There’s even some rollup and Babel thrown in for transpiling and compiling our TypeScript to make configuration and build setup a breeze.

The Project

Once the tooling is in place, Chance works through converting a completely functional Windows 98-style Minesweeper game away from JS React into one that takes advantage of the power of TypeScript. It’ll be clear how changing the JS to TS will not affect the functionality of the game at all but improves the safety of your app.

Topics in the second half of the course include component refactoring as well as adding types to React Hooks, useReducer, and Context. You’ll even see how to add types to a legacy Class component!

Chance has several years of experience working with component libraries and this is your opportunity to learn from his experience and apply his process to your own.

What you’ll learn

  •  the knowledge of how to incorporate TypeScript into any React application, whether it’s shipped and continuously deployed or not
  • You’ll take the practices and tools that you learn here to be much more productive in your TypeScript, wherever you use it
  • the knowledge of when you see React Types vs your own custom types.

Who this course is for

This Course is for every student who wants to extend his or her horizon beyond vanilla JavaScript

Specificatoin of Refactor a React Application to TypeScript

  • publisher: Egghead
  • Teacher: Chance Strickland
  • Language: English
  • level: Intermediate
  • Number of courses: 11
  • Duration: 36 minutes

Course content of Refactor a React Application to TypeScript

Refactor a React Application to TypeScript

Requirements

This is not an introduction to React or TypeScript course. You will need to have a basic understanding of the two to be able to follow along

Course Pictures of Refactor a React Application to TypeScript

Refactor a React Application to TypeScript

Sample Video

Installation Guide

Extract the files and watch with your favorite player

Subtitle: Not available

Quality: 720p

Download Link

Download part 1 – 134 MB

Password: www.downloadly.ir

File size

134 MB

 

Sharing is caring:

Leave a Comment (Please sign to comment)