<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/what-is-memoization-in-javascript-yigrc9c00" -->

---
title: What is Memoization in JavaScript | daily.dev
description: Data Structures: Why do we need Data Structures? Why does it make sense to use data structures to build data structures? Why is it so important to have a data...
canonical: https://daily.dev/posts/what-is-memoization-in-javascript-yigrc9c00
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: What is Memoization in JavaScript | daily.dev
og:description: Data Structures: Why do we need Data Structures? Why does it make sense to use data structures to build data structures? Why is it so important to have a data...
og:url: https://daily.dev/posts/what-is-memoization-in-javascript-yigrc9c00
og:image: https://api.daily.dev/og/posts/YiGRC9C00.png
og:image:alt: What is Memoization in JavaScript
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# What is Memoization in JavaScript

**[DevDojo](https://daily.dev/sources/devdojo)** · [@rahxul](https://daily.dev/rahxul) · 1 min read · 13 upvotes · 0 comments

## Summary

Data Structures: Why do we need Data Structures? Why does it make sense to use data structures to build data structures? Why is it so important to have a data structure that can be used to build a database of data? Why should we use data Structures to create data structures for data?

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://devdojo.com/rahulism/what-is-memoization-in-javascript>

---

Tags: [#javascript](https://daily.dev/tags/javascript)

[View this post on daily.dev](https://daily.dev/posts/what-is-memoization-in-javascript-yigrc9c00)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"What is Memoization in JavaScript","url":"https://daily.dev/posts/what-is-memoization-in-javascript-yigrc9c00","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/what-is-memoization-in-javascript-yigrc9c00"},"datePublished":"2021-04-05T13:31:27.769Z","dateModified":"2021-10-07T14:17:10.317Z","description":"Data Structures: Why do we need Data Structures? Why does it make sense to use data structures to build data structures? Why is it so important to have a data...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/78ffc4bd2dc83d8616b22c2321b62d50","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/78ffc4bd2dc83d8616b22c2321b62d50","isAccessibleForFree":true,"articleSection":"DevDojo","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Rahul","url":"https://daily.dev/rahxul","image":"https://media.daily.dev/image/upload/s--w_EB7y0c--/f_auto,q_auto/v1/avatars/avatar_UA2asvbfX","description":"Hustler","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":2120}},"commentCount":0,"discussionUrl":"https://daily.dev/posts/what-is-memoization-in-javascript-yigrc9c00","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":13},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DevDojo","item":"https://daily.dev/sources/devdojo"},{"@type":"ListItem","position":3,"name":"What is Memoization in JavaScript"}]}
```

