TypeScript Basics
Learn TypeScript from Scratch and Solidify Your Skills with Projects
- English
- ePUB (mobile friendly)
- Available on iOS & Android
TypeScript Basics
Learn TypeScript from Scratch and Solidify Your Skills with Projects
About This Book
Jumpstart your working knowledge of Typescriptwith a quick, practical guide and start using this open source, object orientated language with confidence. This book highlights how Typescript works with JavaScript and its frameworks, giving it greater functionality, especially for larger enterprise projects.
You'll start by reviewing some fundamentals such as how to run a TypeScript file and compile it to JavaScript as well as understand how it sits within the full ecosystem alongside React, Redux, Angular and Webpack. Using a practical project-led approach, you'll go through key concepts and aspects of Typescript such as compilers, arrays, classes and interfaces. Once you complete the fundamental basics, you'll move onto more complex topics like advanced types.
You'll also learn about Decorators, which are a must-have feature in Angular. The book then presents a small To-do list project followed by a larger 'Drag and Drop' project. You'll see howto divide the drag and drop project into small manageable modules and learn to make the project more efficient with Webpack. Lastly, you'll create two more React projects, a party app with React and then one with React and Redux.
Typescript Basics reveals how this JavaScript extension is currently the fastest growing language for web development with more and more developers and companies looking to utilize and adopt it within their current workflows and projects.
What You'll Learn
- Understand the particulars of Typescript and how it feeds into the JS and Web development eco-system
- Implement Typescript for enterprise projects
- Use Typescript with practical projects and examples
- See how Typescript interacts with major frameworks like React and Angular
Who This Book Is For
Those who want to learn about TypeScript and implement it in their Enterprise or hobby projects with React and Angular. Beginners will find it easy to learn the basic concepts and principles to get started and to progress onto more advanced projects and how to implement them.
Frequently asked questions
Information
Table of contents
- Cover
- Front Matter
- 1. Getting Started
- 2. TypeScript Basics
- 3. The TypeScript Compiler
- 4. Classes and Interfaces
- 5. Advanced Types
- 6. Generics and Decorators
- 7. Creating a To-do List Project with TypeScript
- 8. Creating a Drag-and-Drop Project with TypeScript
- 9. Improving the Drag-and-Drop Project
- 10. Creating a Party App in ReactJS with TypeScript
- 11. Using React Redux with TypeScript
- Back Matter