---
title: "How do I stop unnecessary re-renders in React?"  
description: "How do I stop unnecessary re-renders in React?"  
author: "Gabriela Gómez"  
published: 2026-11-13  
updated: 2026-11-13  
canonical: https://www.mindstick.com/forum/163014/how-do-i-stop-unnecessary-re-renders-in-react  
category: "JavaScript and Frontend"  
tags: ["React", "performance", "re-render", "useMemo", "React.memo"]  
reading_time: 1 minute  

---

# How do I stop unnecessary re-renders in React?

My React page feels slow when I type in one input. The Profiler shows the whole page re-rendering. How do I fix it?

## Replies

### Reply by Chandra Shekhar

React re-renders a component when its state, props or parent change. Often the fix is structural, not a hook:

- **Move state down.** If only one input needs the text, keep that state inside a small component, so typing does not re-render the whole page.
- **React.memo** on a child skips re-rendering when its props are unchanged.
- **useMemo** and **useCallback** keep the same object or function reference between renders, which is needed for memo to work. A new `{}` or `() => {}` created on each render looks like a changed prop.
- Use **stable keys** (ids, not array index) in lists that change.
- For long lists, use **virtualisation** (render only visible rows).

Measure first with the React DevTools Profiler. Adding useMemo everywhere has a cost too, so apply it where the Profiler shows real wasted time.


---

Original Source: https://www.mindstick.com/forum/163014/how-do-i-stop-unnecessary-re-renders-in-react

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
