Why is immutability matters ?

One of the advantages of immutability is that you can optimize your application by making use of reference and value equality. This makes it easy to identify if anything has changed. You can consider the example of state change in the React component.

Facebook: https://www.facebook.com/Krish.Dinesh.Official/
Instagram : https://www.instagram.com/krish.dinesh.official/
twitter: @Krishantha
Be the first to comment