There is a task in the component to untie the object from the store. But so that it is reactive in the component itself.
If I create a copy using Object.assign or JSON.parse(JSON.stringify()) when creating or mounting a component, a copy is created, but the data is no longer reactive. Who implements this task?
ps. As an option, I can declare in date the object itself and all its properties are empty, then assign values then everything works well. But it is not convenient when the object is large, to rewrite all its properties in the component, a little wrong as I understand it.
itemis reactive,item.idis not. - Artem Gorlachev{...this.item, ...{title:'new title'}}, it’s not very messy - Artem Gorlachev