Easily 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...12 min read·kaca.hashnode.devFeb 25, 2021
12 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 ...13 min read·kaca.hashnode.dev3LMFeb 2, 2021
An 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 ...14 min read·kaca.hashnode.devJan 18, 2021
Advanced 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...10 min read·kaca.hashnode.devJan 11, 2021