 <code>.toJSON()</code> method. When a stream is passed as the argument to <code>JSON.stringify()</code>, the value of the stream is serialized.</p>
<pre><code class="language-javascript">var value = stream(123)
var serialized = JSON.stringify(value)
console.log(serialized) // logs 123</code></pre>
<hr>
<h3 id="streams-do-not-trigger-rendering"><a href="#streams-do-not-trigger-rendering">Streams do not trigger rendering</a></h3>
<p>Unlike libraries like Knockout, Mithril streams do not trigger re-rendering 