Treating your data as immutable brings many benefits. In fact, thatâs a principle behind React: React elements are immutable. You might also be interested in learning about an Immutable App Architecture. But whatâs the benefit of using Immutable.js: function toggleTodo (todos, id) { return todos.update(id, (todo) => todo.update('completed', (completed) => !completed ) ) }â¦over using normal JavaScr
Whoa, a new version of Immutable! The big news is that we now export types for both Flow and TypeScript in the npm module! Also that pesky length warning has finally been fully removed. There are also a good amount of small bug fixes and performance improvements. Finally, the API docs have been improved greatly! Check it out http://facebook.github.io/immutable-js/docs/. A huge huge thanks to every
Facebookã§æ稿ãåçãªã©ããã§ãã¯ã§ãã¾ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}