
Test-Driven React, Second Edition
Find Problems Early, Fix Them Quickly, Code with Confidence
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Test-Driven React, Second Edition
Find Problems Early, Fix Them Quickly, Code with Confidence
About this book
You work in a loop: write code, get feedback, adjust. The faster you get feedback, the faster your code improves and the more effective you become as a developer. And that feedback comes from testing.
The conceptual elegance of React has opened the door to a new generation of web testing: clear, expressive, and lightning fast. That makes React a perfect fit for test-driven development ( TDD ), a methodology in which tests are a blueprint instead of an afterthought.
Each chapter presents new projects to challenge you and new tools to help you:
- Write fast, easy-to-understand tests with Vitest and React Testing Library.
- Keep your code tidy with ESLint and Prettier.
- Perform every task you need from a single window within VS Code.
- See your test output directly in your code with Wallaby.
- Style components in a test-friendly way with styled-components.
- Stay focused on what's important by running your tests continuously in the background.
- Generate beautiful documentation with Storybook, and update it on every commit with GitHub Actions.
The second edition of Test-Driven React has been extensively revised to reflect the latest tools and techniques for React development, including TypeScript. Each chapter presents new projects to challenge you and new tools to help you detect and fix bugs in your code.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Te st-Driven React, Second Edition