Test-Driven React: Find Problems Early, Fix Them Quickly, Code with Confidence, 2nd EditionКНИГИ » ПРОГРАММИНГ
Название: Test-Driven React: Find Problems Early, Fix Them Quickly, Code with Confidence, 2nd Edition Автор: Trevor Burnham Издательство: Pragmatic Bookshelf Год: September 2024 (Version: P1.0) Страниц: 174 Язык: английский Формат: pdf, epub Размер: 10.1 MB
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.
This book will introduce you to a TDD workflow suited to React development. That means taking full advantage of the extensive range of tools that have joined the javascript ecosystem in the last few years: Jest, TypeScript, ESLint, Prettier, and more. Used properly, these tools will give you the feedback you need to rapidly write code that’s both readable and reliable. In this chapter, you’ll build a simple javascript project using a test-driven approach. With Jest as your test framework, you’ll be able to create a lightning-fast feedback loop. Along the way, you’ll learn how to manage dependencies with npm.
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.
Introduction Chapter 1: Test-Driven Development with Jest Chapter 2: Integrated Tooling with VS Code Chapter 3: Testing React with Testing Library Chapter 4: Styling in javascript with Styled-Components Chapter 5: Refactoring with Hooks Chapter 6: Continuous Integration and Collaboration Bibliography
Скачать Test-Driven React: Find Problems Early, Fix Them Quickly, Code with Confidence, 2nd Edition
React Programming: The Big Nerd Ranch Guide Название: React Programming: The Big Nerd Ranch Guide Автор: Loren Klingman, Ashley Parker Издательство: Big Nerd Ranch Год: 2023 Страниц: 705 Язык:...
Outside-In React Development : A TDD Primer Название: Outside-In React Development: A TDD Primer Автор: Josh Justice Издательство: Leanpub Год: 2022-10-13 Страниц: 245 Язык: английский Формат:...
React Quickly, Second Edition (MEAP v11) Название: React Quickly, Second Edition (MEAP v11) Автор: Morten Barklund, Azat Mardan Издательство: Manning Publications Год: 2023 Страниц: 891...
Build Blog with React (SSR) and Wagtail Название: Build Blog with React (SSR) and Wagtail Автор: Michael Yin Издательство: Leanpub Год: 2021-05-05 Страниц: 167 Язык: английский Формат: pdf...
Build SPA with React and Wagtail Название: Build SPA with React and Wagtail Автор: Michael Yin Издательство: Leanpub Год: 2021-01-14 Страниц: 170 Язык: английский Формат: pdf (true)...
Acceptance Test Driven Development with React Название: Acceptance Test Driven Development with React Автор: Juntao Qiu Издательство: Amazon Digital Services LLC ASIN: B07GDPW69R Год: 2018...
React for Real: Front-End Code, Untangled Название: React for Real: Front-End Code, Untangled Автор: Ludovico Fischer Издательство: Pragmatic Bookshelf Год: 2018 Страниц: 120 Формат: EPUB...
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.