title: vue.js prop array/object vs literal
body: <p>Props in vue.js are one way binding, by the way,in the documentation :</p>
  <p><a href="https://v2.vuejs.org/v2/guide/components.html#One-Way-Data-Flow" rel="nofollow noreferrer">https://v2.vuejs.org/v2/guide/components.html#One-Way-Data-Flow</a></p>
  <p>&quot;Note that objects and arrays in JavaScript are passed by reference, so if the prop is an array or object, mutating the object or array itself inside the child will affect parent state.&quot;</p>
  <p>So i want to know, the prop.sync is it only for &quot;litteral&quot; (ie; string, number,date) or I must use it also with object/array ?</p>
  <p>I already use object WITHOUT sync and all work very well, but i am fear it is not the good solution for do &quot;vue.js&quot; way ?</p>
  <p>SO my question is : can i use object/array in prop,without sync, with no problem ?</p>