Learn React with TypeScript
A beginner's guide to reactive web development with React 18 and TypeScript
Seiten
2023
|
2nd Revised edition
Packt Publishing Limited (Verlag)
978-1-80461-420-4 (ISBN)
Packt Publishing Limited (Verlag)
978-1-80461-420-4 (ISBN)
Take your first step in building modern-day component-based web apps using the latest features and capabilities of React and TypeScript with this easy-to-follow guide
Key Features
Learn to use different React hooks with TypeScript
Explore different styling approaches while building React web apps
Gain experience in using React Dev Tools to debug components
Purchase of the print or Kindle book includes a free PDF eBook
Book DescriptionReading, navigating, and debugging a large frontend codebase is a major issue faced by frontend developers. This book is designed to help web developers like you learn about ReactJS and TypeScript, both of which power large-scale apps for many organizations.
This second edition of Learn React with TypeScript is updated, enhanced, and improved to cover new features of React 18 including hooks, state management libraries, and features of TypeScript 4. The book will enable you to create well-structured and reusable React components that are easy to read and maintain, leveraging modern design patterns.
You’ll be able to ensure that all your components are type-safe, making the most of TypeScript features, including some advanced types. You’ll also learn how to manage complex states using Redux and how to interact with a GraphQL web API. Finally, you’ll discover how to write robust unit tests for React components using Jest.
By the end of the book, you’ll be well-equipped to use both React and TypeScript.What you will learn
Gain first-hand experience of TypeScript and its productivity features
Understand how to transpile your TypeScript code into JavaScript for running in a browser
Build a React frontend codebase with hooks
Interact with REST and GraphQL web APIs
Design and develop strongly typed reusable components
Create automated component tests
Who this book is forThis book is for experienced frontend developers looking to build large scale web applications using React and TypeScript. Intermediate knowledge of JavaScript, HTML and CSS is a prerequisite.
Key Features
Learn to use different React hooks with TypeScript
Explore different styling approaches while building React web apps
Gain experience in using React Dev Tools to debug components
Purchase of the print or Kindle book includes a free PDF eBook
Book DescriptionReading, navigating, and debugging a large frontend codebase is a major issue faced by frontend developers. This book is designed to help web developers like you learn about ReactJS and TypeScript, both of which power large-scale apps for many organizations.
This second edition of Learn React with TypeScript is updated, enhanced, and improved to cover new features of React 18 including hooks, state management libraries, and features of TypeScript 4. The book will enable you to create well-structured and reusable React components that are easy to read and maintain, leveraging modern design patterns.
You’ll be able to ensure that all your components are type-safe, making the most of TypeScript features, including some advanced types. You’ll also learn how to manage complex states using Redux and how to interact with a GraphQL web API. Finally, you’ll discover how to write robust unit tests for React components using Jest.
By the end of the book, you’ll be well-equipped to use both React and TypeScript.What you will learn
Gain first-hand experience of TypeScript and its productivity features
Understand how to transpile your TypeScript code into JavaScript for running in a browser
Build a React frontend codebase with hooks
Interact with REST and GraphQL web APIs
Design and develop strongly typed reusable components
Create automated component tests
Who this book is forThis book is for experienced frontend developers looking to build large scale web applications using React and TypeScript. Intermediate knowledge of JavaScript, HTML and CSS is a prerequisite.
Carl Rippon has been in the software industry for over 20 years developing a complex lines of business applications in various sectors. He has spent the last 8 years building single-page applications using a wide range of JavaScript technologies including Angular, ReactJS, and TypeScript. Carl has also written over 100 blog posts on various technologies.
Table of Contents
Introducing React
Introducing TypeScript
Setting Up React and TypeScript
Using React Hooks
Approaches to Styling React Frontends
Routing with React Router
Working with Forms
State Management
Interacting with RESTful APIs
Interacting with GraphQL APIs
Reusable Components
Unit Testing with Jest and React Testing Library
Erscheinungsdatum | 06.03.2023 |
---|---|
Verlagsort | Birmingham |
Sprache | englisch |
Maße | 191 x 235 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Web / Internet |
ISBN-10 | 1-80461-420-3 / 1804614203 |
ISBN-13 | 978-1-80461-420-4 / 9781804614204 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
Mehr entdecken
aus dem Bereich
aus dem Bereich
Handbuch für die Praxis
Buch | Hardcover (2023)
O'Reilly (Verlag)
CHF 55,85