mirror of
https://github.com/labs42io/clean-code-typescript.git
synced 2025-04-18 15:13:34 +00:00
Broken Link Found
Updated current external link with a new link redirecting to Immutable collections for JavaScript repo
This commit is contained in:
parent
6a371420d3
commit
6bd784f599
1 changed files with 1 additions and 1 deletions
|
@ -763,7 +763,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://github.com/immutable-js/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:**
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue