Answer the question
In order to leave comments, you need to log in
How to overwrite a reactive object?
Reactive object created:
const item = reactive({})
I'm getting new data from the server, how can I completely overwrite this object?
item = response
Now vetur swears:
Cannot assign to 'item' because it is a constant.Vetur(2588)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question