Learn React with TypeScript 3: Beginner’s guide to modern React web development with TypeScript 3
Authors: Carl Rippon
ISBN-10: 1789610257
ISBN-13: 9781789610253
Publication Date 出版日期: 2018-11-29
Print Length 页数: 502 pages
Book Description
By finelybook
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.
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
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
Authors
Carl Rippon
Carl Rippon has been involved in the software industry for over 20 years,developing a complex line of business applications in various sectors. He has spent the last eight years building single page applications using a wide range of JavaScript technologies,including Angular,ReactJS,and TypeScript. Carl has written over 100 blog posts on various technologies.