DEV Community

Discussion on: 🔥 Quick Tip: Update an array and avoid mutation

Collapse
 
karranb profile image
Karran Besen

Awesome, I think it won't be too hard to make a helper function that looks like ramda`s update with this snippet

Collapse
 
helderberto profile image
Helder Burato Berto

Thanks for the comment!
A thing I like to do is reproduce the methods for these packages like lodash,ramda to better understand what is doing on the deep side.