0
Hello while testing component I got warning in console:
Thank you!
[Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "extendedForm"
found in
---> <Itemform>
<Root>
warn @ vue.js:597
Thank you!
Responses (7)
-
Accepted Answer
-
Accepted Answer
0Thanks Germinal Camps.
Also I need to report that it creates issues after all.
Whenever for example I click on something it resets content I inserted in fields in component if I haven't saved it right away before clicking on anything.
Also there is one more related warning:
Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools
vue.js:8553 You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
Hope it helps.
Thank you! -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »