title: React's Refs in Reagent (or Om)?
body: <p>I sometimes find it useful to use React's <a href="https://facebook.github.io/react/docs/more-about-refs.html" rel="nofollow noreferrer">Refs</a> in order to change the state of the DOM as for example to focus an input field after rendering a component. Does <strong>Reagent</strong> or <strong>Om</strong> implement this or if not what is the idiomatic way to do this in those libraries?</p>
  
  <p>EDIT (after the discussion below).</p>
  
  <p>The use of <code>this.getDOMNode</code> in <code>componentDidMount</code> is not a generic solution to this problem. It only allows access to the physical DOM element after a component is mounted. Sometimes consistent access to an element is required after every call to render - as for example for triggering events. The way to do that is through Refs.</p>