title: Toast is not rendered (react-toastify component)
body: <p>I'm using <code>react-toastify</code> and I can't get a simple toast to be rendered...</p>
  
  <pre><code>import React from "react";
  import { toast } from 'react-toastify';
  
  class MyView extends React.Component&lt;{}, {}&gt; {
  
      constructor() {
          super();
          this.state = {
  
          };
      }
  
      componentDidMount() {
          toast("Hello", { autoClose: false });
      }
  
      notify = () =&gt; toast("Hello", { autoClose: false });
  
      render() {
          return (
             &lt;div&gt;
               &lt;button onClick={this.notify}&gt;Notify&lt;/button&gt;
             &lt;/div&gt;
        )}
  }
  </code></pre>
  
  <p>package.json (in "dependencies" section)</p>
  
  <pre><code>"react": "^16.2.0",
  "react-toastify": "^3.2.2"
  </code></pre>
  
  <p>If I debug it, I see that my toasts are queued, _EventManager2 never gets the _constant.ACTION.MOUNTED event that normally emits the toasts from the queue...</p>
  
  <pre><code>/**
   * Wait until the ToastContainer is mounted to dispatch the toast
   * and attach isActive method
   */
  _EventManager2.default.on(_constant.ACTION.MOUNTED, function (containerInstance) {
    container = containerInstance;
  
    toaster.isActive = function (id) {
      return container.isToastActive(id);
    };
  
    queue.forEach(function (item) {
      _EventManager2.default.emit(item.action, item.content, item.options);
    });
    queue = [];
  });
  </code></pre>
  
  <p>..so there might be something wrong with that ToastContainer but what? I just use the sample code from the documentation.</p>
  
  <p>Thank you for your help!</p>