---
title: "Dan Bahrami (@danbahrami) | Hashnode"
description: "Frontend dev of 10+ years. Sharing things I learn here before the AI's destroy us all. Read the latest articles by Dan Bahrami on Hashnode."
url: "https://hashnode.com/@danbahrami"
---

@danbahrami

# Dan Bahrami

@danbahrami · London, UK · Joined April 2023

Frontend dev of 10+ years. Sharing things I learn here before the AI's destroy us all.

### [Iteration performance - tips and tricks](https://danbahrami.hashnode.dev/iteration-performance-tips-and-tricks?utm_source=hashnode&utm_medium=feed)

I'll show you how to avoid common performance mistakes when iterating and share some tips and tricks to make iteration fast.

6 min read · [danbahrami.hashnode.dev](https://danbahrami.hashnode.dev/iteration-performance-tips-and-tricks?utm_source=hashnode&utm_medium=feed)

[Sep 6, 2024](https://hashnode.com/posts/iteration-performance-tips-and-tricks/66daf0570aaa01e5dfa59176)

### [React patterns: Combining hooks with child functions for composable data components](https://danbahrami.hashnode.dev/react-patterns-combining-hooks-with-child-functions-for-composable-data-components?utm_source=hashnode&utm_medium=feed)

Combining React hooks with the "function as child" pattern is a powerful way to achieve composable UI that relies on data.

3 min read · [danbahrami.hashnode.dev](https://danbahrami.hashnode.dev/react-patterns-combining-hooks-with-child-functions-for-composable-data-components?utm_source=hashnode&utm_medium=feed)

[Jun 27, 2024](https://hashnode.com/posts/react-patterns-combining-hooks-with-child-functions-for-composable-data-components/66dc6d4575fb955c17c0a882)

### [A gotcha with the Fetch API](https://danbahrami.hashnode.dev/a-gotcha-with-the-fetch-api?utm_source=hashnode&utm_medium=feed)

It’s rare that I use the Fetch API directly these days but every time I do there’s one behaviour that I forget about... HTTP errors

2 min read · [danbahrami.hashnode.dev](https://danbahrami.hashnode.dev/a-gotcha-with-the-fetch-api?utm_source=hashnode&utm_medium=feed)

[Apr 25, 2023](https://hashnode.com/posts/a-gotcha-with-the-fetch-api/64478d1e1b8ea4e767967a66)

### [Generating test data with Zod](https://danbahrami.hashnode.dev/generating-test-data-with-zod?utm_source=hashnode&utm_medium=feed)

I keep finding amazing things you can do with Zod. In this post I'll show you how to use zod-mock to generate test data that conforms to a Zod schema.

4 min read · [danbahrami.hashnode.dev](https://danbahrami.hashnode.dev/generating-test-data-with-zod?utm_source=hashnode&utm_medium=feed)

[Apr 23, 2023](https://hashnode.com/posts/generating-test-data-with-zod/6445539f353d7a3de4c0eaa1)

### [How to create a private Redux store](https://danbahrami.hashnode.dev/how-to-create-a-private-redux-store?utm_source=hashnode&utm_medium=feed)

A private Redux store is a good option if you're building a shared library or want to isolate parts of your application state with multiple stores.

3 min read · [danbahrami.hashnode.dev](https://danbahrami.hashnode.dev/how-to-create-a-private-redux-store?utm_source=hashnode&utm_medium=feed)

[Apr 23, 2023](https://hashnode.com/posts/how-to-create-a-private-redux-store/64455340353d7a3de4c0ea9d)
