Learn React with TypeScript 3: Beginner's guide to modern React web development with TypeScript 3

Carl Rippon

  • 出版商: Packt Publishing
  • 出版日期: 2018-11-29
  • 定價: $1,700
  • 售價: 8.0$1,360
  • 語言: 英文
  • 頁數: 502
  • 裝訂: Paperback
  • ISBN: 1789610257
  • ISBN-13: 9781789610253
  • 相關分類: ReactJavaScriptTypeScript
  • 立即出貨(限量) (庫存=2)

  • Learn React with TypeScript 3: Beginner's guide to modern React web development with TypeScript 3-preview-1
  • Learn React with TypeScript 3: Beginner's guide to modern React web development with TypeScript 3-preview-2
  • Learn React with TypeScript 3: Beginner's guide to modern React web development with TypeScript 3-preview-3
  • Learn React with TypeScript 3: Beginner's guide to modern React web development with TypeScript 3-preview-4
  • Learn React with TypeScript 3: Beginner's guide to modern React web development with TypeScript 3-preview-5
  • Learn React with TypeScript 3: Beginner's guide to modern React web development with TypeScript 3-preview-6
  • Learn React with TypeScript 3: Beginner's guide to modern React web development with TypeScript 3-preview-7
  • Learn React with TypeScript 3: Beginner's guide to modern React web development with TypeScript 3-preview-8
  • Learn React with TypeScript 3: Beginner's guide to modern React web development with TypeScript 3-preview-9
Learn React with TypeScript 3: Beginner's guide to modern React web development with TypeScript 3-preview-1

買這商品的人也買了...

商品描述

Start developing modern day component based web apps using React 16, Redux and TypeScript 3 with this easy to follow guide filled with practical examples.

Key Features

  • Learn the latest and core features of React such as components, React Router, and suspense
  • Dive into TypeScript 3 and it`s core components such as interfaces, types aliases, tuples, generics and much more.
  • Build small-to-large scale single page applications with React, Redux, GraphQL and TypeScript

Book Description

React today is one of the most preferred choices for frontend development. Using React with TypeScript enhances development experience and offers a powerful combination to develop high performing web apps. In this book, you'll learn how to create well structured and reusable react components that are easy to read and maintain by leveraging modern web development techniques.

We will start with learning core TypeScript programming concepts before moving on to building reusable React components. You'll learn how to ensure all your components are type-safe by leveraging TypeScript's capabilities, including the latest on Project references, Tuples in rest parameters, and much more. You'll then be introduced to core features of React such as React Router, managing state with Redux and applying logic in lifecycle methods. Further on, you'll discover the latest features of React such as hooks and suspense which will enable you to create powerful function-based components. You'll get to grips with GraphQL web API using Apollo client to make your app more interactive. Finally, you'll learn how to write robust unit tests for React components using Jest.

By the end of the book, you'll be well versed with all you need to develop fully featured web apps with React and TypeScript.

What you will learn

  • Gain a first-hand experience of TypeScript and its productivity features
  • Transpile your TypeScript code into JavaScript for it to run in a browser
  • Learn relevant advanced types in TypeScript for creating strongly typed and reusable components.
  • Create stateful function-based components that handle lifecycle events using hooks
  • Get to know what GraphQL is and how to work with it by executing basic queries to get familiar with the syntax
  • Become confident in getting good unit testing coverage on your components using Jest

Who this book is for

The ideal target audience for this book are web developers who want to get started with creating modern day web apps with React and TypeScript.You are expected to have a basic understanding of JavaScript and HTML programming. No prior knowledge of TypeScript and React is needed.

Table of Contents

  1. TypeScript Basics
  2. What is New in TypeScript 3
  3. Getting Started with React and TypeScript
  4. Routing with React Router
  5. Advanced Types
  6. Component Patterns
  7. Working with Forms
  8. React Redux
  9. Interacting with Restful APIs
  10. Interacting with GraphQL APIs
  11. Unit Testing with Jest

商品描述(中文翻譯)

使用React 16、Redux和TypeScript 3開發現代化的基於組件的網絡應用程式,本書提供易於理解的指南,並包含實用示例。

主要特點:

- 學習React的最新核心功能,如組件、React Router和suspense
- 深入研究TypeScript 3及其核心組件,如接口、類型別名、元組、泛型等
- 使用React、Redux、GraphQL和TypeScript構建小型到大型的單頁應用程式

書籍描述:

React是當今前端開發中最受歡迎的選擇之一。使用React與TypeScript結合可以增強開發體驗,並提供強大的組合來開發高性能的網絡應用程式。在本書中,您將學習如何通過利用現代網絡開發技術創建結構良好且可重用的React組件,這些組件易於閱讀和維護。

我們將從學習核心TypeScript編程概念開始,然後轉向構建可重用的React組件。您將學習如何通過利用TypeScript的能力確保所有組件都是類型安全的,包括最新的項目引用、剩餘參數中的元組等。然後,您將介紹React的核心功能,如React Router、使用Redux管理狀態以及在生命周期方法中應用邏輯。此外,您還將了解React的最新功能,如hooks和suspense,這將使您能夠創建功能強大的基於函數的組件。您將掌握使用Apollo客戶端與GraphQL Web API進行交互,使應用程式更具互動性。最後,您將學習如何使用Jest為React組件編寫強大的單元測試。

通過閱讀本書,您將熟悉使用React和TypeScript開發完整功能的網絡應用程式所需的一切。

您將學到:

- 獲得TypeScript及其生產力功能的第一手經驗
- 將TypeScript代碼轉譯為JavaScript以在瀏覽器中運行
- 學習TypeScript中相關的高級類型,以創建強類型和可重用的組件
- 創建處理生命周期事件的有狀態基於函數的組件
- 了解GraphQL是什麼,以及如何通過執行基本查詢來熟悉其語法
- 通過Jest對組件進行良好的單元測試覆蓋率,增強信心

本書的目標讀者是希望使用React和TypeScript創建現代網絡應用程式的網絡開發人員。您需要具備基本的JavaScript和HTML編程知識,不需要事先了解TypeScript和React。

目錄:

1. TypeScript基礎
2. TypeScript 3的新功能
3. 開始使用React和TypeScript
4. 使用React Router進行路由
5. 高級類型
6. 組件模式
7. 使用表單
8. React Redux
9. 與RESTful API交互
10. 與GraphQL API交互
11. 使用Jest進行單元測試