<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/immutable-js-persistent-data-structures-and-structural-sharing-ca6wt65n5" -->

---
title: Immutable.js, persistent data structures and structural...
description: Using Immutable.js can bring benefits such as faster data updates and improved performance. Copying properties with Object.assign can be slower due to...
canonical: https://daily.dev/posts/immutable-js-persistent-data-structures-and-structural-sharing-ca6wt65n5
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Immutable.js, persistent data structures and structural sharing | daily.dev
og:description: Using Immutable.js can bring benefits such as faster data updates and improved performance. Copying properties with Object.assign can be slower due to...
og:url: https://daily.dev/posts/immutable-js-persistent-data-structures-and-structural-sharing-ca6wt65n5
og:image: https://api.daily.dev/og/posts/Ca6WT65n5.png
og:image:alt: Immutable.js, persistent data structures and structural sharing
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.

# Immutable.js, persistent data structures and structural sharing

**[Community Picks](https://daily.dev/sources/community)** · 2 min read · 16 upvotes · 1 comments

## Summary

Using Immutable.js can bring benefits such as faster data updates and improved performance. Copying properties with Object.assign can be slower due to JavaScript's default mutability. Immutable.js uses persistent data structures and structural sharing to optimize data updates and improve performance.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/@dtinth/immutable-js-persistent-data-structures-and-structural-sharing-6d163fbd73d2>

## Community discussion

Top comments from developers on daily.dev.

**@totalchamp** · 1 upvotes

> Thank you, great read!

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#react](https://daily.dev/tags/react), [#performance](https://daily.dev/tags/performance), [#data-structures](https://daily.dev/tags/data-structures)

[View this post on daily.dev](https://daily.dev/posts/immutable-js-persistent-data-structures-and-structural-sharing-ca6wt65n5)

```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":"Immutable.js, persistent data structures and structural sharing","url":"https://daily.dev/posts/immutable-js-persistent-data-structures-and-structural-sharing-ca6wt65n5","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/immutable-js-persistent-data-structures-and-structural-sharing-ca6wt65n5"},"datePublished":"2024-05-08T12:41:19.877Z","dateModified":"2024-05-09T08:22:04.995Z","description":"Using Immutable.js can bring benefits such as faster data updates and improved performance. Copying properties with Object.assign can be slower due to...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a56596c92ba532aaaa76d691a7e394c4?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a56596c92ba532aaaa76d691a7e394c4?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Community Picks","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":"Organization","name":"Community Picks","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community","url":"https://daily.dev/sources/community"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/immutable-js-persistent-data-structures-and-structural-sharing-ca6wt65n5","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":16},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"javascript,react,performance,data-structures","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Community Picks","item":"https://daily.dev/sources/community"},{"@type":"ListItem","position":3,"name":"Immutable.js, persistent data structures and structural sharing"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/immutable-js-persistent-data-structures-and-structural-sharing-ca6wt65n5","comment":[{"@type":"Comment","text":"Thank you, great read!","datePublished":"2024-05-15T13:40:12.281Z","url":"https://daily.dev/posts/Ca6WT65n5#c-z6R8EgiUR","author":{"@type":"Person","name":"Sam","url":"https://daily.dev/totalchamp","image":"https://lh3.googleusercontent.com/a/ACg8ocLVcShPk9ctThVHIkMUiqkCjKIWKLXCMF8PM1147dlhNx34ciaj=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
```

