---
title: "Discussion on \"How Does Shallow Comparison Work In React?\" | Hashnode"
description: "Discussion on \"How Does Shallow Comparison Work In React?\". Shallow comparison as a concept is all over React development. It plays a key role in different processes and can also be found at several places in the lifecycle of React components. Think of the mechanism to determine whether class components shoul..."
url: "https://hashnode.com/posts/how-does-shallow-comparison-work-in-react/62626789d82f4558aff8716c"
---

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

Discussion

# [How Does Shallow Comparison Work In React?](https://chakshunyu.hashnode.dev/how-does-shallow-comparison-work-in-react?utm_source=hashnode&utm_medium=feed)

Shallow comparison as a concept is all over React development. It plays a key role in different processes and can also be found at several places in the lifecycle of React components. Think of the mechanism to determine whether class components shoul...

Apr 22, 2022 · 6 min read · chakshunyu.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Chak Shun Yu](https://hashnode.com/@keraito)

@keraito

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

React, Storybook and Node enthusiast.

Lifelong learner working as a software engineer. React frontend developer, former Storybook maintainer, and technical writer about React, testing, and career.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
