- Mastering React Test:Driven Development
- Daniel Irvine
- 229字
- 2021-06-24 14:44:58
Solving the exercises
Almost every chapter has an Exercises section at the end. These exercises are designed to give you ideas for how you continue practicing what you've learned. They have already been solved in the GitHub repository so you can see how I've solved them. The next chapter always starts from the point where I've solved the exercises.
Should you choose to solve the exercises—which I encourage you to do—then the likelihood is that you'll have solved them in a different way than I would have. Unfortunately, this might leave you in merge hell when you begin the next chapter.
If you find yourself in this situation, I suggest you first study the differences between your approach and mine. Think about how they differ and the relative merits of each. (Do not think that mine will be any better than yours.)
Then, ensuring you've committed and successfully stored your code, move to a new tag and a new branch, starting again.
In other words, be pragmatic and don't spend an inordinate amount of time fighting the system. It's better to keep moving and not get stuck or frustrated.
Pro tip: always keep your exercise solutions in a separate commit. When you move on to the next chapter, branch from your pre-Exercises commit and merge in the official exercise solutions instead.
- Spring Boot 2實戰之旅
- 計算機網絡
- Spring Cloud Alibaba核心技術與實戰案例
- Deploying Node.js
- Cocos2D-X權威指南(第2版)
- Python機器學習:數據分析與評分卡建模(微課版)
- The Modern C++ Challenge
- JavaScript+jQuery開發實戰
- C#程序設計(慕課版)
- 云計算通俗講義(第3版)
- Learning Apache Kafka(Second Edition)
- 用戶體驗增長:數字化·智能化·綠色化
- Advanced Oracle PL/SQL Developer's Guide(Second Edition)
- SQL Server 2008 R2數據庫技術及應用(第3版)
- Hands-On JavaScript for Python Developers