var map = Immutable.Map({ a: 1, b: 2, c: 3 });
map.set('a', 10).get('a'); // 10
map.merge({'a': 10, 'b': 20}); // { a: 10, b: 20, c: 3 }
var map = Immutable.fromJS({ a: 1, b: { b1: 1, b2: 2 } });
map.mergeDeep({ b: { b1: 10 } }); // { a: 1, b: { b1: 10, b2: 2 } }
This repository was archived by the owner on Jan 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
License
ofek-public/immutable-js-cheat-sheet
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published