This is the code repository for Learn React with TypeScript 3, published by Packt.
Beginner's guide to modern React web development with TypeScript 3
React today is one of the most loved and preferred choices for front-end development. Using React with TypeScript enhances development experience and offers a powerful combination to develop high performing web apps. This book will take you through a journey of web development with the help of the latest version of React and TypeScript 3.
This book covers the following exciting features:
- 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
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, 01-TypeScriptBasics.
The code will look like the following:
import * as React from "react";
const App: React.SFC = () => {
return <h1>My React App!</h1>;
};
Following is what you need for this book: 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.
With the following software and hardware list you can run all code files present in the book (Chapter 1-11).
Chapter | Software required | OS required |
---|---|---|
All | Chrome (latest) | Windows 7 or later OS X Yosemite 10.10 or later |
All | Node.js 8.2+ and npm 5.2+ | Windows 7 or later OS X Yosemite 10.10 or later |
All | Visual Studio Code (latest) | Windows 7 or later OS X Yosemite 10.10 or later |