Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 1.91 KB

2019-04-20.md

File metadata and controls

23 lines (12 loc) · 1.91 KB

Two years ago, I was right where you are today. I wanted to become a professional programmer. But I had no idea how to make it happen.

I am back with my new article and yep👍 it’s a technical one. It’s about React hooks. A new feature officially introduced in React v16.8.

After several years of using Redux for most of our projects we decided to try useReducer/useContext approach instead. Here is what we learned.

Unit testing is a great discipline which can lead to 40%-80% reductions in production bug density. Unit testing also has several other important benefits:

Package lock files serve as a rich manifest of dependencies for projects that specify the exact version of dependencies to be installed, as well as the dependencies of those dependencies, and so on—to encompass the full dependency tree.

Knowing how to test is great and important. I've created a LOT of content that teaches people the fundamentals of testing, how to configure tools, how to write tests for specific scenarios, and so on. But knowing how to write tests is only half the battle to achieve confidence in your application. Knowing what to test is the other–very important–battle.