Use something like:<p><pre><code>   &lt;YourComponent ref={yourRef =&gt; this.yourRef = yourRef}&#x2F;&gt;
</code></pre>
I think you should be able to do this.yourRef.state, but if not, you can always implement a getState() method in YourComponent.