---
title: "Dino Kacavenda (@kaca) | Hashnode"
description: "Full Stack Developer. Read the latest articles by Dino Kacavenda on Hashnode."
url: "https://hashnode.com/@kaca"
---

@kaca

# Dino Kacavenda

@kaca · Croatia, Zagreb · Joined January 2021

Full Stack Developer

### [Easily Create Mock Data for Unit Tests](https://kaca.hashnode.dev/easily-create-mock-data-for-unit-tests?utm_source=hashnode&utm_medium=feed)

In 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.dev](https://kaca.hashnode.dev/easily-create-mock-data-for-unit-tests?utm_source=hashnode&utm_medium=feed)

[Feb 25, 2021](https://hashnode.com/posts/easily-create-mock-data-for-unit-tests/60379cf43d13f95841a57678)

### [12 Tips for Writing Better Automated Tests](https://kaca.hashnode.dev/12-tips-for-writing-better-automated-tests?utm_source=hashnode&utm_medium=feed)

Automated 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.dev](https://kaca.hashnode.dev/12-tips-for-writing-better-automated-tests?utm_source=hashnode&utm_medium=feed)

[3](https://hashnode.com/posts/12-tips-for-writing-better-automated-tests/60190d3958cc670f3df45ae6) [Feb 2, 2021](https://hashnode.com/posts/12-tips-for-writing-better-automated-tests/60190d3958cc670f3df45ae6)

### [An in-depth guide to useState hook](https://kaca.hashnode.dev/an-in-depth-guide-to-usestate-hook?utm_source=hashnode&utm_medium=feed)

In 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.dev](https://kaca.hashnode.dev/an-in-depth-guide-to-usestate-hook?utm_source=hashnode&utm_medium=feed)

[Jan 18, 2021](https://hashnode.com/posts/an-in-depth-guide-to-usestate-hook/6005b0b17b30c23b714ab6b3)

### [Advanced TypeScript Tips & Tricks](https://kaca.hashnode.dev/advanced-typescript-tips-and-tricks?utm_source=hashnode&utm_medium=feed)

In 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.dev](https://kaca.hashnode.dev/advanced-typescript-tips-and-tricks?utm_source=hashnode&utm_medium=feed)

[Jan 11, 2021](https://hashnode.com/posts/advanced-typescript-tips-and-tricks/5ffc1d93aa5c467fe155a827)
