---
title: "Rense Bakker (@brense) | Hashnode"
description: "Freelance fullstack developer. Read the latest articles by Rense Bakker on Hashnode."
url: "https://hashnode.com/@brense"
---

@brense

# Rense Bakker

@brense · Den Haag, Netherlands · Joined January 2023

Freelance fullstack developer

### [React: bad habits](https://brense.hashnode.dev/react-bad-habits?utm_source=hashnode&utm_medium=feed)

Bad habits, we all have them! In this article, I will confess some of my own coding bad habits and bad habits I have encountered in React code over the past years, working as a React dev. 1. Create derived state using a side effect This is something ...

4 min read · [brense.hashnode.dev](https://brense.hashnode.dev/react-bad-habits?utm_source=hashnode&utm_medium=feed)

[Mar 21, 2023](https://hashnode.com/posts/react-bad-habits/641967b2d2ca1f29834fb2a1)

### [Vite dev server: adding middleware](https://brense.hashnode.dev/vite-dev-server-adding-middleware?utm_source=hashnode&utm_medium=feed)

While working on apps that will be deployed to Vercel, I have run into this situation several times, where I wanted to be able to start my api middleware together with the Vite dev server for local development. Normally you would run the api middlewa...

2 min read · [brense.hashnode.dev](https://brense.hashnode.dev/vite-dev-server-adding-middleware?utm_source=hashnode&utm_medium=feed)

[Mar 20, 2023](https://hashnode.com/posts/vite-dev-server-adding-middleware/6417fb01c3e750df9c64af64)

### [Mapping Records to arrays](https://brense.hashnode.dev/mapping-records-to-arrays?utm_source=hashnode&utm_medium=feed)

I needed this functionality to parse a configuration regardless of whether it was supplied as an array or a Record. This function converts the Record into an array of the same type: function mapRecordToArray<T, R extends Omit<T, K>, K extends keyof T...

1 min read · [brense.hashnode.dev](https://brense.hashnode.dev/mapping-records-to-arrays?utm_source=hashnode&utm_medium=feed)

[Oct 6, 2022](https://hashnode.com/posts/mapping-records-to-arrays/641851af489b9b823c505890)

### [React: What is composition, and why is it important](https://brense.hashnode.dev/react-what-is-composition-and-why-is-it-important?utm_source=hashnode&utm_medium=feed)

Without composition, the complexity of our components will grow exponentially over-time, which hurts maintainability.

3 min read · [brense.hashnode.dev](https://brense.hashnode.dev/react-what-is-composition-and-why-is-it-important?utm_source=hashnode&utm_medium=feed)

[Aug 30, 2022](https://hashnode.com/posts/react-what-is-composition-and-why-is-it-important/64171196f20a8e02d2339cf9)
