Test-Driven React: Find Problems Early, Fix Them Quickly, Code with Confidence
暫譯: 測試驅動的 React:及早發現問題,快速修復,信心編碼
Burnham, Trevor
- 出版商: Pragmatic Bookshelf
- 出版日期: 2019-07-16
- 定價: $1,800
- 售價: 9.5 折 $1,710
- 語言: 英文
- 頁數: 170
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1680506463
- ISBN-13: 9781680506464
-
相關分類:
React、TDD 測試導向開發
立即出貨 (庫存 < 4)
買這商品的人也買了...
-
$580$458 -
$1,715Introduction to Algorithms, 3/e (Hardcover)
-
$450$356 -
$550$550 -
$250程序員思維修煉 (修訂版)
-
$403深入 React 技術棧
-
$650$507 -
$454Node.js 實戰, 2/e (Node.js in Action, 2/e)
-
$1,350$1,283 -
$2,100$1,995 -
$1,380$1,311 -
$352React + Redux 前端開發實戰
-
$550$429 -
$520$411 -
$390$371 -
$650$507 -
$560$437 -
$680$530 -
$550$429 -
$3,040The Algorithm Design Manual, 3/e (Hardcover)
-
$1,750$1,663 -
$599$569 -
$520$410 -
$880$695 -
$680$530
商品描述
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.
Each chapter will present new projects to challenge you and new tools to help you. Write fast, portable tests with Jest. Keep your code tidy with ESLint and Prettier. Perform every task you need from a single window with VS Code. See your test output directly in your code with Wallaby. Use the JavaScript features of the future with Babel. Make assertions about React component behavior with Enzyme. And style components in a testable way with styled-components. By understanding every piece of your project's stack, you'll feel more confident and able to focus on what matters: writing reliable and maintainable code.
Discover a more joyful React development experience. Let your tests lead the way
What You Need:
You'll need a working knowledge of JavaScript and a computer running macOS, Windows, or Linux.
商品描述(中文翻譯)
你在一個循環中工作:編寫程式碼、獲取反饋、迭代。獲取反饋的速度越快,你學習的速度就越快,成為更有效的開發者。Test-Driven React 幫助你完善你的 React 工作流程,以便儘快獲得所需的反饋。編寫強大的測試並在工作過程中持續運行它們,將複雜的程式碼拆分為可管理的部分,並通過自動化繁瑣的瑣事來專注於重要的事情。採用這些技術,你將能夠避免生產力陷阱,並以驚人的速度開始構建 React 組件。
React 通過抽象化 DOM 操作的細節,徹底改變了網頁開發。這種概念上的優雅為新一代的網頁測試打開了大門:清晰、表達性強且快速。這使得 React 成為測試驅動開發(TDD)的完美選擇,這是一種將測試視為藍圖而非事後考慮的方法論。
每一章將呈現新的項目來挑戰你,並提供新的工具來幫助你。使用 Jest 編寫快速、可攜帶的測試。使用 ESLint 和 Prettier 使你的程式碼保持整潔。使用 VS Code 從單一窗口執行你所需的每一項任務。使用 Wallaby 直接在你的程式碼中查看測試輸出。使用 Babel 利用未來的 JavaScript 特性。使用 Enzyme 對 React 組件行為進行斷言。並使用 styled-components 以可測試的方式為組件設計樣式。通過理解你項目堆疊中的每一個部分,你將感到更有信心,並能專注於重要的事情:編寫可靠且可維護的程式碼。
發現更愉快的 React 開發體驗。讓你的測試引領方向。
你需要的:
你需要具備 JavaScript 的工作知識,以及一台運行 macOS、Windows 或 Linux 的電腦。
作者簡介
Trevor Burnham is an engineer at HubSpot in Cambridge, MA. His previous books include CoffeeScript and Async JavaScript, both published by PragProg. You can follow him on Twitter as @trevorburnham.
作者簡介(中文翻譯)
Trevor Burnham 是位於麻薩諸塞州劍橋的 HubSpot 工程師。他之前的著作包括《CoffeeScript》和《Async JavaScript》,均由 PragProg 出版。您可以在 Twitter 上關注他,帳號為 @trevorburnham。