---
title: "Discussion on \"A common mistake make performance issue in React\" | Hashnode"
description: "Discussion on \"A common mistake make performance issue in React\". We have code block like:\nfunction ParentComponent(props) {\n  return (\n    <ChildComponent style={{ color: 'red' }} />\n  )\n}\nWhat performance with the above code?\nNormally React only rerender a component of props or state change. For this case, ChildC..."
url: "https://hashnode.com/posts/a-common-mistake-make-performance-issue-in-react/604901372f49f75f68d3afc0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A common mistake make performance issue in React](https://tungnt620.com/a-common-mistake-make-performance-issue-in-react?utm_source=hashnode&utm_medium=feed)

We have code block like: function ParentComponent(props) { return ( <ChildComponent style={{ color: 'red' }} /> ) } What performance with the above code? Normally React only rerender a component of props or state change. For this case, ChildC...

Mar 10, 2021 · 1 min read · tungnt620.com  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#performance](https://hashnode.com/tag/performance)

## Written by

[Tung Nguyen](https://hashnode.com/@tungnt)

@tungnt

  
[View profile](https://hashnode.com/@tungnt)

programer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
