---
title: "Discussion on \"Optimizing React Components: Harnessing the Power of Pure Component and React.memo()\" | Hashnode"
description: "Discussion on \"Optimizing React Components: Harnessing the Power of Pure Component and React.memo()\". What is a Pure component and pure function?\nBased on the concept of purity in programming paradigms, a function is said to be pure if it meets the following two conditions:\n\nIts return value is only determined by its input values\n\nIts return value is..."
url: "https://hashnode.com/posts/optimizing-react-components-harnessing-the-power-of-pure-component-and-reactmemo/65fe74fa4d7fc5127c822e98"
---

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

Discussion

# [Optimizing React Components: Harnessing the Power of Pure Component and React.memo()](https://codecraftbyankita.hashnode.dev/optimizing-react-components-harnessing-the-power-of-pure-component-and-reactmemo?utm_source=hashnode&utm_medium=feed)

What is a Pure component and pure function? Based on the concept of purity in programming paradigms, a function is said to be pure if it meets the following two conditions: Its return value is only determined by its input values Its return value is...

Mar 23, 2024 · 5 min read · codecraftbyankita.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#pure-functions](https://hashnode.com/tag/pure-functions)
-   [#reactmemo](https://hashnode.com/tag/reactmemo)
-   [#performance-optimization](https://hashnode.com/tag/performance-optimization)

## Written by

[Ankita Sharma](https://hashnode.com/@CodeCraftByAnkita)

@CodeCraftByAnkita

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

Unlocking the world of coding, one line at a time.

Unlocking the world of coding, one line at a time.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
