Message from JavaScript discussions

November 2018

— Correct

— 

let { objectData: { damageTree } } = state;

is the same as:
let damageTree = state.objectData.damageTree;

— Yes

— So. It doesn't work.

— If I use damagetree

— So on the bottom line, you're just reassigning the variable

— And then the function is over

— So the variable is never used

— 😯

— So, what should I do? 😢

— You don't need those Object.assigns btw

— But I have to use deep copy?