/** * Copyright 2004-present Facebook. All Rights Reserved. * * @providesModule renderApplication */ 'use strict'; var React = require('React'); var invariant = require('invariant'); function renderApplication(RootComponent, initialProps, rootTag) { invariant( rootTag, 'Expect to have a valid rootTag, instead got ', rootTag ); React.render(, rootTag); } module.exports = renderApplication;