title: May i render the react-portal inside my react application?
body: <p>I use react 16. I want to render portal inside my app like that:</p>
  
  <pre><code>&lt;html&gt;
    &lt;body&gt;
      &lt;div id="app-root"&gt;
        &lt;div&gt;...My app stuff&lt;/div&gt;
        &lt;div id="modal-root"&gt;... portal stuff&lt;/div&gt; &lt;-- portal content
      &lt;/div&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But official doc recommends render portal next to, not in app.</p>
  
  <pre><code>&lt;html&gt;
    &lt;body&gt;
      &lt;div id="app-root"&gt;&lt;/div&gt;
      &lt;div id="modal-root"&gt;&lt;/div&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Is it the only correct way to use the portal?</p>