import React from 'react';
import ReactDOM from 'react-dom';

const css = require('./app.scss');

ReactDOM.render(
    <h4>Hello World React Template</h4>,
    document.querySelector('.container')
);
import React, { Component } from 'react';
import ReactDOM from 'react-dom';

const css = require('./app.scss');

class App extends Component {
  render() {
    <div>
      <h4>Hello World React Template</h4>
    </div>
  }
}

ReactDOM.render(
    <App/>,
    document.querySelector('.container')
);
Change app to a class type component
Change app to a class type component
