When should I be using icepick.merge over lodash.merge

Viewed 355

I've recently found a need for merging deeply inside my reducers.

I found that both icepick.merge and lodash.merge do the job.

It seems that icepick.merge is an efficient way merging and calling object.freeze recursively.

When working with react reducers (and immutability), when should you use icepick instead of lodash? Is it good practice to be calling object.freeze on arrays and objects?

1 Answers
Related