title: Any way for React in a popup to communicate with parent window?
body: <p>I've got an OAuth process that pops up a window, but when I log in, the redirect to the OAuth callback page happens within the popup rather than the parent window (<code>window.opener</code>). This might be a bit hacky, but I'd like a way for the popup window to tell the parent "we're authorized!"</p>
  
  <p>This actually works:</p>
  
  <pre><code>OAuthCallback = React.createClass({
    displayName: 'OAuthCallback',
  
    render() {
      window.opener.console.log('hello parent window');
  
      return (
        &lt;div&gt;
          Hi, OAuth is process is done.
        &lt;/div&gt;
      )
    }
  });
  </code></pre>
  
  <p>But I'm wondering if there's some way I can have the popup window tell the parent window to call a prop function, e.g. <code>this.props.oauthSucceeded()</code>.</p>