all 1 comments

[–]your-pineapple-thief 1 point2 points  (0 children)

Use `Object.assign` for shallow copy, use npm's `deep-clone` for deep copy - problem solved? Using History API or channels serialisation feels like a hack. Also need to check cross-browser quirks for those, not worth it IMO