title: How to have source instead of html in WebView in React Native
body: <p>Recently, React Native has deprecated <code>html</code> and <code>url</code> props and replaced them with <code>source</code>.</p>
  
  <pre><code>&lt;WebView
      automaticallyAdjustContentInsets={false}
      contentInset={{top: 0, right: 0, bottom: 0, left: 0}}
      html={"&lt;style&gt;*{margin:0;padding:0;}canvas{position:absolute;transform:translateZ(0);}&lt;/style&gt;&lt;canvas&gt;&lt;/canvas&gt;&lt;script&gt;var canvas = document.querySelector('canvas');(" + renderString + ").call(" + contextString + ", canvas);&lt;/script&gt;"}
      opaque={false}
      underlayColor={'transparent'}
      style={this.props.style}
      javaScriptEnabled={true}
  /&gt;
  </code></pre>
  
  <p>How to replace the <code>html</code> with <code>source</code>. Just replacing doesn't do the trick. Thanks in advance.</p>