3 ms·
Typically you would render a single root element and then use the 'after' lifecycle methods (componentDidMount, componentDidUpdate) to grab the root element (wi
by mambodog 12y ago
Typically you would render a single root element and then use the 'after' lifecycle methods (componentDidMount, componentDidUpdate) to grab the root element (with getDOMNode) and make your changes (eg. call a jQuery plugin method on the dom node)
Here's a jsfiddle for the specific lib you're talking about (Odometer):
http://jsfiddle.net/p1h7rn3q/ http://jsfiddle.net/p1h7rn3q/