Immutability is a concept in programming whereby data in use is never modified. If changes need to be made, the data is copied and the changes are applied on the copy. This makes it easier to track changes made to the data.
This repo showcases some example usages of immutable.js and then how it can be used in Redux.
A list of the folders included, and links to them.
Folder | Use case |
---|---|
immutable_tutorial_cHKG4b2XNig | introduction to immutable.js |
IntroductionToImmutablejs_1AITIyArG78 | introduction to immutable.js |
immutable_redux_vanilla_js | immutable data in react using plain javascript |
immutable_redux_immutablejs | immutable data in react using immutablejs |
immutable_redux_immer | immutable data in react using immer |
Examples are mostly based on YouTube tutorials.