Learn React with TypeScript 3: Beginner's guide to modern React web development with TypeScript 3
暫譯: 使用 TypeScript 3 學習 React:現代 React 網頁開發的初學者指南
Carl Rippon
- 出版商: Packt Publishing
- 出版日期: 2018-11-29
- 定價: $1,700
- 售價: 8.0 折 $1,360
- 語言: 英文
- 頁數: 502
- 裝訂: Paperback
- ISBN: 1789610257
- ISBN-13: 9781789610253
-
相關分類:
React、JavaScript、TypeScript
立即出貨(限量) (庫存=2)
買這商品的人也買了...
-
$1,362Fundamentals of Data Structures in C++, 2/e (Paperback)
-
$580$452 -
$360$281 -
$580$452 -
$800$632 -
$580$458 -
$580$458 -
$1,500$1,425 -
$1,620$1,539
相關主題
商品描述
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
- TypeScript Basics
- What is New in TypeScript 3
- Getting Started with React and TypeScript
- Routing with React Router
- Advanced Types
- Component Patterns
- Working with Forms
- React Redux
- Interacting with Restful APIs
- Interacting with GraphQL APIs
- 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 網路 API 互動,使您的應用程式更具互動性。最後,您將學習如何使用 Jest 為 React 組件編寫穩健的單元測試。
在書籍結束時,您將熟悉開發完整功能網頁應用程式所需的所有知識,使用 React 和 TypeScript。
#### 您將學到什麼
- 獲得 TypeScript 及其生產力功能的第一手經驗
- 將您的 TypeScript 代碼轉譯為 JavaScript,以便在瀏覽器中運行
- 學習 TypeScript 中相關的高級型別,以創建強類型和可重用的組件
- 創建有狀態的基於函數的組件,使用 hooks 處理生命週期事件
- 了解什麼是 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 進行單元測試