---
title: "Discussion on \"How to implement Memoization in React and vanilla JS to optimize your web app\" | Hashnode"
description: "Discussion on \"How to implement Memoization in React and vanilla JS to optimize your web app\". easy way to understand the implementation of memoization, useMemo , useCallback , react.memo() in react and javascript  for optimization"
url: "https://hashnode.com/posts/how-to-implement-memoization-in-react-and-vanilla-js-to-optimize-your-web-app/627ff6330094f2f13f514acf"
---

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

Discussion

# [How to implement Memoization in React and vanilla JS to optimize your web app](https://poornima-alugubelly.hashnode.dev/how-to-implement-memoization-in-react-and-vanilla-js-to-optimize-your-web-app?utm_source=hashnode&utm_medium=feed)

easy way to understand the implementation of memoization, useMemo , useCallback , react.memo() in react and javascript for optimization

May 14, 2022 · 6 min read · poornima-alugubelly.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#optimization](https://hashnode.com/tag/optimization)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#react-hook-1](https://hashnode.com/tag/react-hook-1)

## Written by

[Poornima Alugubelly](https://hashnode.com/@poornima611)

@poornima611

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

## Responses 7

Markdown supported · ⌘↵ to post

[Nikhil](https://hashnode.com/@Belide)

[Jun 1, 2022](https://hashnode.com/posts/how-to-implement-memoization-in-react-and-vanilla-js-to-optimize-your-web-app/627ff6330094f2f13f514acf/comment/62974261750734fd35a7a858)

Great work. The blog is easy to read and understand!

[Ankit Singh](https://hashnode.com/@ankit9761)

[Jun 1, 2022](https://hashnode.com/posts/how-to-implement-memoization-in-react-and-vanilla-js-to-optimize-your-web-app/627ff6330094f2f13f514acf/comment/6296d6b58181eeee2a1b3e8e)

I was having same doubt like when to use which hook for performence optimization.Kudos to you for having clearly explained these topics in simple manner.

[Adarsh Patel](https://hashnode.com/@Adarsh96)

[May 27, 2022](https://hashnode.com/posts/how-to-implement-memoization-in-react-and-vanilla-js-to-optimize-your-web-app/627ff6330094f2f13f514acf/comment/629106c30989e6b52feadcec)

Thanks, Poornima for the explanation with easy examples and code.

Bookmarked... for refernece

[Poornima Alugubelly](https://hashnode.com/@poornima611)

[May 28, 2022](https://hashnode.com/posts/how-to-implement-memoization-in-react-and-vanilla-js-to-optimize-your-web-app/627ff6330094f2f13f514acf/comment/629106c30989e6b52feadcec#reply-6291970bd97f80b5091d8648)

Thank u Adarsh happy that it helped! :)

[Bharati Subramanian](https://hashnode.com/@bhaaratii)

[May 24, 2022](https://hashnode.com/posts/how-to-implement-memoization-in-react-and-vanilla-js-to-optimize-your-web-app/627ff6330094f2f13f514acf/comment/628c9ab0bc26026fa45c333a)

Wonderfully written! Great examples and explanation. 🚀

[Poornima Alugubelly](https://hashnode.com/@poornima611)

[May 28, 2022](https://hashnode.com/posts/how-to-implement-memoization-in-react-and-vanilla-js-to-optimize-your-web-app/627ff6330094f2f13f514acf/comment/628c9ab0bc26026fa45c333a#reply-629196e6d97f80b5091d863a)

Thank u Bharati! <3

[Roma Bulani](https://hashnode.com/@romabulani)

[May 19, 2022](https://hashnode.com/posts/how-to-implement-memoization-in-react-and-vanilla-js-to-optimize-your-web-app/627ff6330094f2f13f514acf/comment/6285f29b7b02ca162edad992)

Very clear and precise explanation of the Memoization Poornima, Saving it for future reference. Great work👏

[Poornima Alugubelly](https://hashnode.com/@poornima611)

[May 19, 2022](https://hashnode.com/posts/how-to-implement-memoization-in-react-and-vanilla-js-to-optimize-your-web-app/627ff6330094f2f13f514acf/comment/6285f29b7b02ca162edad992#reply-6286252b7b02ca162edae47c)

Thank you Roma! ^ ^

[Shubhendu Sen](https://hashnode.com/@Sen442b)

[May 16, 2022](https://hashnode.com/posts/how-to-implement-memoization-in-react-and-vanilla-js-to-optimize-your-web-app/627ff6330094f2f13f514acf/comment/6281e9d2bc9305ec39366509)

Such a concise piece, great job👏

[Poornima Alugubelly](https://hashnode.com/@poornima611)

[May 16, 2022](https://hashnode.com/posts/how-to-implement-memoization-in-react-and-vanilla-js-to-optimize-your-web-app/627ff6330094f2f13f514acf/comment/6281e9d2bc9305ec39366509#reply-62820165bc9305ec393668f3)

Thank u Shubhendu!

[Sharath Nair](https://hashnode.com/@nairified)

[May 14, 2022](https://hashnode.com/posts/how-to-implement-memoization-in-react-and-vanilla-js-to-optimize-your-web-app/627ff6330094f2f13f514acf/comment/627ffcfc0094f2f13f514b74)

Nice explanation of useCallback hook. Saving for reference. Good work Poornima✌️

[Poornima Alugubelly](https://hashnode.com/@poornima611)

[May 15, 2022](https://hashnode.com/posts/how-to-implement-memoization-in-react-and-vanilla-js-to-optimize-your-web-app/627ff6330094f2f13f514acf/comment/627ffcfc0094f2f13f514b74#reply-62806d2e0094f2f13f51532b)

Thank you Sharath <3
