"code-line">}</span></span>
</code></pre>
  </div>
</div><p>Let’s call it <code>Part</code>. Both, this state and its middleware will be part of an external framework, used by dozens of apps. Internally probably the <code>Middleware</code> will use <code>CoreLocation</code> to fetch the GPS changes, and triggers some actions. On the main app we have a global state, that we now call <code>Whole</code>.</p><div data-syntax="" class="code-listing">
  <div class="container-general">
    <pre><code><span class