Fullstack React with TypeScript
- Paperback: 541 pages
- Publisher: WOW! eBook (September 27, 2020)
- Language: English
- ISBN-10: n/a
- ISBN-13: n/a
Fullstack React with TypeScript: Learn Pro Patterns for Hooks, Testing, Redux, SSR, and GraphQL
Welcome to Fullstack React with TypeScript! React and TypeScript are a powerful combination that can prevent bugs and help you (and your team) ship products faster. But understanding idiomatic React patterns and getting the typings setup isn’t always straightforward.
This practical, hands-on book is a guide that will have you (and your team) writing React apps with TypeScript (and hooks) in no time. This Fullstack React with TypeScript: Learn Pro Patterns for Hooks, Testing, Redux, SSR, and GraphQL book consists of several sections. Each section covers one practical case of using TypeScript with React.
Your First React and TypeScript Application: Building Trello with Drag and Drop: There you will learn how to bootstrap a React TypeScript application and all the basics of using React with TypeScript. We will build a kanban board application like Trello that will store it’s state on backend.
Testing React With TypeScript: Testing a Digital-Goods Store: In this section you will set up your testing environment and learn how to test your application. We will take an online store application and cover it with tests.
Patterns in React TypeScript Applications: Making Music with React: Making Music with React. Here we cover Higher Order Components (HOCs) and render props React patterns. We show when are they useful and how to use them with TypeScript. In this section we will build a virtual piano that supports different sound sets.
Next.js and Static Site Generation: Building a Medium-like Blog Building Medium with SSG. React can be rendered server-side. It allows to create multi-page interactive websites. In this section we cover the basics of server-side generation with React and then we build an advanced application using Next.js framework. The example application will be blogging platform (like Medium).
State Management With Redux and TypeScript: Some React applications are so complex that they require using some external state management library. Redux is a solid choice in this case. It is worth learning how to use it with TypeScript. In this section we will build a drawing application with undo/redo support. It will also let you save your drawings on backend.
GraphQL With React And TypeScript: GraphQL is a query language that allows to create flexible APIs. Facebook, Github, Twitter and a lot of other companies provide GraphQL APIs. TypeScript works pretty well with GraphQL. In this section we will build a Github issue viewer.