Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mecjos's avatar

Making nonReactive a Reactive Prop in Component

Hi.. Is there a way to clone a ractive prop as non reactive in vue component without using lodash?? I have a problem with editing form elements on reactive component. I get Error: [vuex] do not mutate vuex store state outside mutation handlers. this error. Because I try to change computed ( a state from computed prop) in edit form. How can get a non reactive clone of a prop? Thank you..

0 likes
0 replies

Please or to participate in this conversation.