---
title: "Chhavi Rana (@chhavi-rana) | Hashnode"
description: "Do what Excites. Read the latest articles by Chhavi Rana on Hashnode."
url: "https://hashnode.com/@chhavi-rana"
---

@chhavi-rana

# Chhavi Rana

@chhavi-rana · Joined June 2023

Do what Excites

### [SOLID Principles in Java (With Real life Examples)](https://chhavi-rana.hashnode.dev/solid-principles-in-java-with-real-life-examples?utm_source=hashnode&utm_medium=feed)

In this article, you'll explore the SOLID principles of object-oriented programming, applied to a real-world online food ordering system. With each principle, you'll get a clear explanation, why it matters, and a Java example that feels practical and...

6 min read · [chhavi-rana.hashnode.dev](https://chhavi-rana.hashnode.dev/solid-principles-in-java-with-real-life-examples?utm_source=hashnode&utm_medium=feed)

[May 8, 2025](https://hashnode.com/posts/solid-principles-in-java-with-real-life-examples/681c15afb8f9423c0cb72402)

### [setState : Under the hood](https://chhavi-rana.hashnode.dev/setstate-under-the-hood?utm_source=hashnode&utm_medium=feed)

setState is a method used in React to update the state of a component. When setState is called, React re-renders the component and its children, reflecting the updated state. Here's a detailed explanation of what happens under the hood when setState ...

2 min read · [chhavi-rana.hashnode.dev](https://chhavi-rana.hashnode.dev/setstate-under-the-hood?utm_source=hashnode&utm_medium=feed)

[Jul 4, 2023](https://hashnode.com/posts/setstate-under-the-hood/64a4217dcdea1150d9b03c49)
