---
title: "Atharva Bhuse (@atharvabhuse) | Hashnode"
description: "Software engineer. Read the latest articles by Atharva Bhuse on Hashnode."
url: "https://hashnode.com/@atharvabhuse"
---

@atharvabhuse

# Atharva Bhuse

@atharvabhuse · Mumbai, India · Joined October 2022

Software engineer

[Website](https://atharvabhuse.github.io/portfolio/)

## Comments

[Thanks Eshan](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d/comment/662a3a8aaf165b9c0918c10b#reply-662bc560dafa11b0aebacbe0)

Reply · Article · Apr 26, 2024 · [A Beginner guide to Mastering Re-rendering in React](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d)

[Thanks Sahil](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d/comment/63e2847f1fb674c924d356b1#reply-63e2bc9651d650ce2e0d3729)

Reply · Article · Feb 7, 2023 · [A Beginner guide to Mastering Re-rendering in React](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d)

[Hello Jayesh, I would be happy to help you with that. Expensive operations are those operations that take longer time to execute such as complicated functions in component, API all with larger amount of data. setState can be an expensive function and we can avoid it by simply batching multiple states with single setState. we can also use useMemo() hook to decrease number of re-renders. Thanks Jayesh for your question, have a great day!!](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d/comment/63deb2a5870f1899b96ee8af#reply-63dfab7ebf2ce4a649f5d624)

Reply · Article · Feb 5, 2023 · [A Beginner guide to Mastering Re-rendering in React](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d)

[Thanks Jayesh](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d/comment/63deb2a5870f1899b96ee8af#reply-63dfaa73bf2ce4a649f5d602)

Reply · Article · Feb 5, 2023 · [A Beginner guide to Mastering Re-rendering in React](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d)

[Here you will find details- https://reactjs.org/docs/hooks-reference.html#useeffect](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d/comment/63dab8061699246a25c21d57#reply-63dbef37f76a5c7a9df826f2)

Reply · Article · Feb 2, 2023 · [A Beginner guide to Mastering Re-rendering in React](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d)

[Here you will find details- https://reactjs.org/docs/hooks-reference.html](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d/comment/63dab8061699246a25c21d57#reply-63dac2eef5b65869f5efd892)

Reply · Article · Feb 1, 2023 · [A Beginner guide to Mastering Re-rendering in React](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d)

[I don't have blog on this topic right now, but I will definitely consider your suggestion. Thanks Anmol](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d/comment/63da732a4d93226420f6605e#reply-63dab69b1699246a25c21cfb)

Reply · Article · Feb 1, 2023 · [A Beginner guide to Mastering Re-rendering in React](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d)

[Hello Anmol, I would be happy to help you with that. Yes, you are right. useRef() does not re-render the component but it is still preferable to use useState() hook because it keeps component up-to-date with latest state. Even if you need value of the inputs on submit of the form, I will suggest to use useState() hook because it provides a better control on each input value change and corresponding behavior of submit button. For example you can display error messages and disable submit button if user is entering wrong input value. I would like to suggest you Formik and Yup libraries for state management and validating form inputs in React. Thanks Anmol for your question, have a great day!!](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d/comment/63da732a4d93226420f6605e#reply-63daa36ab7131763ef1af2f1)

Reply · Article · Feb 1, 2023 · [A Beginner guide to Mastering Re-rendering in React](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d)

[Thanks Ankush](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d/comment/63da669bb7131763ef1ae65b#reply-63da6701b7131763ef1ae677)

Reply · Article · Feb 1, 2023 · [A Beginner guide to Mastering Re-rendering in React](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d)

[Thanks Thomas](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d/comment/63da1602672b295ef3b41f32#reply-63da2c92672b295ef3b4243c)

Reply · Article · Feb 1, 2023 · [A Beginner guide to Mastering Re-rendering in React](https://hashnode.com/posts/a-beginner-guide-to-mastering-re-rendering-in-react/63d91ede69f9992b3f24590d)
