diff --git a/examples/browserify-gulp-example/src/app/app.jsx b/examples/browserify-gulp-example/src/app/app.jsx
index 2405446315324e..384bce3aacf60b 100644
--- a/examples/browserify-gulp-example/src/app/app.jsx
+++ b/examples/browserify-gulp-example/src/app/app.jsx
@@ -1,5 +1,6 @@
(function () {
let React = require('react');
+ let ReactDOM = require('react-dom');
let injectTapEventPlugin = require('react-tap-event-plugin');
let Main = require('./components/main.jsx'); // Our custom react component
@@ -14,6 +15,6 @@
// Render the main app react component into the app div.
// For more details see: https://facebook.github.io/react/docs/top-level-api.html#react.render
- React.render(, document.getElementById('app'));
+ ReactDOM.render(, document.getElementById('app'));
})();
diff --git a/examples/webpack-example/src/app/app.jsx b/examples/webpack-example/src/app/app.jsx
index 2405446315324e..384bce3aacf60b 100644
--- a/examples/webpack-example/src/app/app.jsx
+++ b/examples/webpack-example/src/app/app.jsx
@@ -1,5 +1,6 @@
(function () {
let React = require('react');
+ let ReactDOM = require('react-dom');
let injectTapEventPlugin = require('react-tap-event-plugin');
let Main = require('./components/main.jsx'); // Our custom react component
@@ -14,6 +15,6 @@
// Render the main app react component into the app div.
// For more details see: https://facebook.github.io/react/docs/top-level-api.html#react.render
- React.render(, document.getElementById('app'));
+ ReactDOM.render(, document.getElementById('app'));
})();