You work in a loop: write code, get feedback, iterate. The faster you get feedback, the faster you can learn and become a more effective developer. Test-Driven React helps you refine your React workflow to give you the feedback you need as quickly as possible. Write strong tests and run them continuously as you work, split complex code up into manageable pieces, and stay focused on what's important by automating away mundane, trivial tasks. Adopt these techniques and you'll be able to avoid productivity traps and start building React components at a stunning pace!
React has revolutionized web development by abstracting away the details of DOM manipulation. That conceptual elegance 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.
Discover a more joyful React development experience. Let your tests lead the way!
What You Need:
Table of contents
- 1. Test-Driven Development with Jest
- 2. Integrated Tooling with VS Code
- 3. Testing React with Enzyme
- 5. Refactoring with Higher-Order Components
- 6. Continuous Integration and Collaboration
- Title: Test-Driven React
- Release date: June 2019
- Publisher(s): Pragmatic Bookshelf
- ISBN: 9781680506464
You might also like
Learning React, 2nd Edition
If you want to learn how to build efficient React applications, this is your book. Ideal …
Why is GraphQL the most innovative technology for fetching data since Ajax? By providing a query …
Grokking Algorithms is a friendly take on this core computer science topic. In it, you'll learn …
Learn React Hooks
Create large-scale web applications with code that is extensible and easy to understand using React Hooks …