Test-Driven Development with React and TypeScript
Building Maintainable React Applications
- English
- ePUB (mobile friendly)
- Only available on web
Test-Driven Development with React and TypeScript
Building Maintainable React Applications
About This Book
Apply test-driven principles to create scalable and maintainable React applications. This bookcovers a wide range of topics, including setting up a testing environment and utilizing popular testing frameworks like Cypress, Jest, and the React Testing Library. It also delves into valuable refactoring techniques, as well as enhancing code maintainability and readability. What sets this comprehensive guide apart is its end-to-end project simulation, showcasing how TDD can be employed to build a complete application called "Bookish."
Test-Driven Development with React and TypeScript elevates its code examples by leveraging TypeScript, the predominant language in modern frontend development, offering you a deeper understanding of how TDD principles can be applied to React projects. Furthermore, all code examples have been carefully revised and updated for this edition, incorporating reader feedback and reflecting current industry standards.
After completing this book, you have the knowledge and skills necessary to develop high quality and scalable React applications.
What You Will Learn
- Master essential refactoring techniques to enhance code quality
- Employ modern practices for writing maintainable React code, including testing and product implementation
- Gain practical experience applying test-driven development (TDD) principles to real-world projects
- Craft high quality, scalable, and maintainable React applications using TDD principles and techniques
Who This Book Is For
Web application developers who wants to learn how to write high quality code using test-driven development.
Frequently asked questions
Information
Table of contents
- Cover
- Front Matter
- 1. A Brief History of Test-Driven Development
- 2. Get Started with Jest
- 3. Refactoring Essentials: The Basics You Need to Know
- 4. Test-Driven Development Essentials
- 5. Project Setup
- 6. Implement the Book List
- 7. Implementing the Book Detail View
- 8. Searching by Keyword
- 9. Introduction to State Management
- 10. Book Reviews
- 11. Behavior-Driven Development
- Back Matter