MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/btxz72/what_are_some_javascript_things_beginners_dont/ep9tn34
r/javascript • u/[deleted] • May 28 '19
383 comments sorted by
View all comments
Show parent comments
1
Yeah, yeah. I use deep copy in those cases. Or do it manually if it's not too much. Specially tricky when using redux.
1 u/johnslegers May 29 '19 Aren't you supposed to use immutable data types in Redux to avoid this trickiness?
Aren't you supposed to use immutable data types in Redux to avoid this trickiness?
1
u/tomius May 29 '19
Yeah, yeah. I use deep copy in those cases. Or do it manually if it's not too much. Specially tricky when using redux.