All of the examples past the first one are broken in Firefox. Also this seems like overkill, why introduce React when you could do the same thing with just the DOM API, with less overhead? And you get to learn about the underlying standard instead of vendor lock-in library. 177 lines for rather trivial DOM manipulation is too much.