title: Events in MobX: call method of view from action of store
body: <p>How I call method of view from async action of store in MobX? For example, I have code, like this:</p>
  
  <pre><code>@action
  someAction() {
    longOperation()
      .then(() =&gt; { })
      .catch(error =&gt; { });
  }
  </code></pre>
  
  <p>When the function is successful or failed, some method in view should be called, for example, show error dialog or call <code>push</code> method on <code>Navigator</code>.</p>
  
  <p>Currently, I have idea: create an observable field in store with status. When status will change, <code>render</code> method of my view will call and I will can handle occurred action and reset status in store.</p>
  
  <p>But is there any better variants of implementation of this idea?</p>