I\'m looking for a pure function, to modify my immutable state object. The original state given as parameter must stay untouched. This is especially useful when working with fra
Try:
const { id, ...noId } = state;
And test:
console.log(noId);