require("../scss/index.scss");

var React = require('react');
var Locale = require('grommet/utils/Locale');
var Cabler = require('./components/Cabler');

var locale = Locale.getCurrentLocale();
var localeData;
try {
  localeData = Locale.getLocaleData(require('../messages/' + locale));
} catch (e) {
  localeData = Locale.getLocaleData(require('../messages/en-US'));
}

var element = document.getElementById('content');
React.render(React.createElement(Cabler, {locales: localeData.locale, messages: localeData.messages}), element);

document.body.classList.remove('loading');

@@ -51,24 +51,61 @@
 e('react');%0A
+var ReactDOM = require('react-dom');%0A
 var Locale =
@@ -456,16 +456,19 @@
 );%0AReact
+DOM
 .render(

Use react-dom package for rendering application