TypeScript in React - Full Tutorial

Struggling to type React components correctly? This TypeScript React tutorial walks you through using TypeScript in real React projects, from typing useState to building reusable typed components, with hands-on challenges throughout. ✏️ Study this course interactively on Scrimba: https://scrimba.com/learn-typescript-c03c?via=scrimbafcc Code is available on the Scrimba course page for each lesson. TypeScript makes React code safer and more predictable. In this module, you'll learn how to type useState, component props, JSX elements, and function props through practical lessons. Perfect for developers who know React basics and want to add TypeScript to their workflow. This isn't just a watch-and-learn tutorial. You'll complete real coding challenges, including building the AriaLiveStatus and WordLetters components from scratch. Timestamps - 00:00 Welcome to TypeScript and React! - 01:51 Setting up the React Project - 05:02 TS Refresher - Basic & Custom Types - 08:31 TS Refresher - Functions - 11:50 TS Refresher - A new getRandomIndex() function - 14:07 Typing useState() - 17:36 Typing Derived Values and Arrow Functions - 19:48 Typing App.tsx functions - 23:10 The New Setup

رایگان1 درس52 دقیقهمتوسط

کانال freeCodeCamp.org

ژوئیه 2026

16 روز پیش بررسی شد

رایگان

این دوره رایگان است و در یوتیوب منتشر شده. نویسنده‌اش همان کانال است، ما فقط مرتب می‌کنیم و بررسی می‌کنیم که ویدیوها باز شوند.

شروع دوره

موضوع‌های مرتبط

این دوره شامل

  • 52 دقیقه ویدیو
  • 1 درس
  • سطح: متوسط
  • زبان: English
  • یادمان می‌ماند کجا بودی
  • کاملاً رایگان، بدون کارت

درس‌ها

1 بخش · 1 درس · 52 دقیقه مدت کل

درس‌های 1 تا 11 درس · 52 دقیقه

چه چیزی لازم است

  • دانستن مقدمات کمک می‌کند: دوره از بعد از آن ادامه می‌دهد.

توضیحات

Struggling to type React components correctly? This TypeScript React tutorial walks you through using TypeScript in real React projects, from typing useState to building reusable typed components, with hands-on challenges throughout. ✏️ Study this course interactively on Scrimba: https://scrimba.com/learn-typescript-c03c?via=scrimbafcc Code is available on the Scrimba course page for each lesson. TypeScript makes React code safer and more predictable. In this module, you'll learn how to type useState, component props, JSX elements, and function props through practical lessons. Perfect for developers who know React basics and want to add TypeScript to their workflow. This isn't just a watch-and-learn tutorial. You'll complete real coding challenges, including building the AriaLiveStatus and WordLetters components from scratch. Timestamps - 00:00 Welcome to TypeScript and React! - 01:51 Setting up the React Project - 05:02 TS Refresher - Basic & Custom Types - 08:31 TS Refresher - Functions - 11:50 TS Refresher - A new getRandomIndex() function - 14:07 Typing useState() - 17:36 Typing Derived Values and Arrow Functions - 19:48 Typing App.tsx functions - 23:10 The New Setup

این دوره برای چه کسی است

  • کسانی که مقدمات React را می‌دانند.

این دو مورد برداشت ما از سطح دوره است. توضیحات از خود نویسنده است.

TypeScript in React - Full Tutorial، کانال freeCodeCamp.org