fix broken link

This commit is contained in:
Dumitru 2022-04-26 13:47:27 +03:00 committed by GitHub
parent 7aecafe532
commit 263c7a578b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -744,7 +744,7 @@ Two caveats to mention to this approach:
1. There might be cases where you actually want to modify the input object, but when you adopt this programming practice you will find that those cases are pretty rare. Most things can be refactored to have no side effects! (see [pure function](https://en.wikipedia.org/wiki/Pure_function))
2. Cloning big objects can be very expensive in terms of performance. Luckily, this isn't a big issue in practice because there are [great libraries]((https://facebook.github.io/immutable-js/)) that allow this kind of programming approach to be fast and not as memory intensive as it would be for you to manually clone objects and arrays.
2. Cloning big objects can be very expensive in terms of performance. Luckily, this isn't a big issue in practice because there are [great libraries](https://facebook.github.io/immutable-js/) that allow this kind of programming approach to be fast and not as memory intensive as it would be for you to manually clone objects and arrays.
**Bad:**