react for variable root container code example Example: ReactDOM.render() ReactDOM.render(element, container[, callback])