title: React equivalent of getElementsByTagName
body: <p>I am trying to get this <code>var li = ul.getElementsByTagName('li');</code> to work in React however it is returning null as I guess the dom hasn't fully loaded. so Im looking for the reacty way to do this or a way to not get it to run until the dom has loaded</p>