title: Can we have React 16 Portal functionality React Native?
body: <p>I'm using <code>React Native</code> which ships with <code>React 16</code> alpha release which supports <a href="https://reactjs.org/docs/portals.html" rel="noreferrer">portals</a>. While in browser and having access to DOM we can use id or classes to access element from anywhere in component/file hierarchy like this:</p>
  
  <pre><code>const modalRoot = document.getElementById('modal-root');
  </code></pre>
  
  <p>and pass it to <code>createPortal(child, container)</code> container arg. <a href="https://reactjs.org/docs/portals.html" rel="noreferrer">React docs clearly says</a> than container should be DOM element:</p>
  
  <blockquote>
    <p>The second argument (container) is a DOM element.</p>
  </blockquote>
  
  <p>This function is also a method of <code>ReactDOM</code> which doesn't exist in React Native.</p>
  
  <p>Is there a way to achieve the similar functionality in React Native? </p>
  
  <h2>Use case:</h2>
  
  <p>I want to render an animated overlay in the root of my application but pass the Animated values props to it from a parent deep in the tree hierarchy (can't use Redux actions for such things).</p>