title: Using P5js with reactjs
body: <p>I want to <strong>use p5js</strong> <strong>with reactjs</strong> but <em>how</em> can <strong>render</strong> a <strong>canvas</strong> in the app component?
  can I copy this into the index.html file?   </p>
  
  <pre><code>&lt;meta name="viewport" width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0&gt;
      &lt;style&gt; body {padding: 0; margin: 0;} &lt;/style&gt;
  &lt;script src="../p5.min.js"&gt;&lt;/script&gt;
  &lt;script src="../addons/p5.dom.min.js"&gt;&lt;/script&gt;
  &lt;script src="../addons/p5.sound.min.js"&gt;&lt;/script&gt;
  &lt;script src="sketch.js"&gt;&lt;/script&gt;
  </code></pre>