import React from 'react';

export let IntercomAPI = window.Intercom || function() { console.warn('Intercome not initialized yet') };

export default class Intercom extends React.Component {
  static propTypes = {
    appID: React.PropTypes.string.isRequired
  }

  static displayName = 'Intercom'

  constructor(props) {
    super(props);

    if (typeof window.Intercom === "function" || !props.appID) {
        return;
    }
    (function(w, d, id, s, x) {
        function i() {
            i.c(arguments);
        }
        i.q = [];
        i.c = function(args) {
            i.q.push(args);
        };
        w.Intercom = i;
        s = d.createElement('script');
        s.onload = function() { IntercomAPI = window.Intercom };
        s.async = 1;
        s.src = 'https://widget.intercom.io/widget/' + id;
        x = d.getElementsByTagName('script')[0];
        x.parentNode.insertBefore(s, x);
    })(window, document, props.appID);

    window.intercomSettings = props;

    if (typeof window.Intercom === 'function') {
      window.Intercom('boot', props);
    }
  }

  componentWillReceiveProps(nextProps) {
    window.intercomSettings = nextProps;
    window.Intercom('update');
  }

  shouldComponentUpdate() {
    return false;
  }

  componentWillUnmount() {
    window.Intercom('shudown');
  }

  render() {
    return false;
  }
}

import React from 'react';

export let IntercomAPI = window.Intercom || function() { console.warn('Intercome not initialized yet') };

export default class Intercom extends React.Component {
  static propTypes = {
    appID: React.PropTypes.string.isRequired
  }

  static displayName = 'Intercom'

  constructor(props) {
    super(props);

    if (typeof window.Intercom === "function" || !props.appID) {
        return;
    }
    (function(w, d, id, s, x) {
        function i() {
            i.c(arguments);
        }
        i.q = [];
        i.c = function(args) {
            i.q.push(args);
        };
        w.Intercom = i;
        s = d.createElement('script');
        s.onload = function() { IntercomAPI = window.Intercom };
        s.async = 1;
        s.src = 'https://widget.intercom.io/widget/' + id;
        x = d.getElementsByTagName('script')[0];
        x.parentNode.insertBefore(s, x);
    })(window, document, props.appID);

    window.intercomSettings = props;

    if (typeof window.Intercom === 'function') {
      window.Intercom('boot', props);
    }
  }

  componentWillReceiveProps(nextProps) {
    window.intercomSettings = nextProps;
    window.Intercom('update');
  }

  shouldComponentUpdate() {
    return false;
  }

  componentWillUnmount() {
    window.Intercom('shutdown');
  }

  render() {
    return false;
  }
}

Fix spelling error with shutdown
Fix spelling error with shutdown