DKDino Kacavendainkaca.hashnode.dev·Feb 25, 2021 · 12 min readEasily Create Mock Data for Unit TestsIn this article, I will show you how to improve your unit tests with the use of the builder design pattern. I will use it to solve one of the hardest problems when writing unit tests: creating mock data. Mock data created using the builder pattern wi...00
DKDino Kacavendainkaca.hashnode.dev·Feb 2, 2021 · 13 min read12 Tips for Writing Better Automated TestsAutomated tests are one of the core principles for writing maintainable code. When we have tests, we can refactor code without worrying we might break existing code. They also, help us catch bugs that would otherwise end up in production. Good tests ...03LM
DKDino Kacavendainkaca.hashnode.dev·Jan 18, 2021 · 14 min readAn in-depth guide to useState hookIn this article, I will draw attention to some problems and edge cases that may occur while using the useState hook. This hook stores a value that is used when rendering components. It is one of the most commonly used hooks, and most of the time you ...00
DKDino Kacavendainkaca.hashnode.dev·Jan 11, 2021 · 10 min readAdvanced TypeScript Tips & TricksIn this article, I will show you some common issues that I have encountered while writing TypeScript applications and how to avoid them. This article is not meant to teach TypeScript, and presumes you have some experience with the language. Topics co...00