Test-Driven React: Find Problems Early, Fix Them Quickly, Code with Confidence - Paperback

Test-Driven React: Find Problems Early, Fix Them Quickly, Code with Confidence - Paperback

$70.31
Sale price  $70.31 Regular price 
Skip to product information
Test-Driven React: Find Problems Early, Fix Them Quickly, Code with Confidence - Paperback

Test-Driven React: Find Problems Early, Fix Them Quickly, Code with Confidence - Paperback

$70.31
Sale price  $70.31 Regular price 

by Trevor Burnham (Author)

Turn your React project requirements into tests and get the feedback you need faster than ever before. Combine the power of testing, linting, and typechecking directly in your coding environment to iterate on React components quickly and fearlessly!

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 find and fix type errors without even running your code.

    What You Need:

    You'll need a working knowledge of JavaScript or TypeScript, and a computer running macOS, Windows, or Linux.

    Number of Pages: 174
    Dimensions: 0.37 x 9.25 x 7.5 IN
    Publication Date: October 22, 2024

    Intentional design

    We make things that work better and last longer. Our products solve real problems with clean design.

    Quality first

    We obsess over the details and strive to deliver the best products at the best prices, every time.

    Customer care

    We're always on your side: keeping our loyal customers happy is our top priority and number one goal.

    At the heart of every product lies a unique story, driven by our passion for quality and innovation. Each item enhances your everyday life and sparks joy.