Ractive 'Consider initialising your data to eliminate the ambiguity' issue
<p>I have a object that's passed to my Ractive component via binding like this:</p>

<pre><code>&lt;Component obj={{someObject}} /&gt;
</code></pre>

<p>and in <code>Component</code> i've got the following oninit method defined:</p>

<pre><code>oninit: function () {
  this.set('someObjectClone', JSON.parse(JSON.stringify(this.get('someObject'))));
}
</code></pre>

<p>However using <code>someObjectClone</code> for two-way binding a <code>&lt;input&gt;</code> element in my template results in a warning saying:</p>

<blockquote>
  <p>Ractive.js:  The 'someObjectClone.someValue' reference being used for two-way binding is ambiguous, and may cause unexpected results. Consider initialising your data to eliminate the ambiguity</p>
</blockquote>

<p>and if i just try to print the value without using two-way binding it prints nothing. As if the value isn't set at all. But if i do <code>console.log(this.get())</code> in my <code>oninit</code> i can see that it has been set. Is the DOM not updating?</p>

<p>Could anybody fill me in on this?</p>

<p>I'm using Ractive <code>0.8.0-edge</code> and i set up a <a href="http://jsfiddle.net/kjj6s709/3/" rel="nofollow">JSFiddle here</a></p>

<p>Regards,</p>