---
title: "Jai A (@randomreact) | Hashnode"
description: "Figuring my way in the tech world. Read the latest articles by Jai A on Hashnode."
url: "https://hashnode.com/@randomreact"
---

@randomreact

# Jai A

@randomreact · India · Joined December 2020

Figuring my way in the tech world.

### [Why shallow copying nested state objects in React can cause bugs?](https://randomness.hashnode.dev/why-shallow-copying-nested-state-objects-in-react-can-cause-bugs?utm_source=hashnode&utm_medium=feed)

Deep copy your state object whenever you want to change its nested properties.

4 min read · [randomness.hashnode.dev](https://randomness.hashnode.dev/why-shallow-copying-nested-state-objects-in-react-can-cause-bugs?utm_source=hashnode&utm_medium=feed)

[May 14, 2022](https://hashnode.com/posts/why-shallow-copying-nested-state-objects-in-react-can-cause-bugs/627fe9be0094f2f13f51497e)
