title: Does updating cause svelte components to rerender?
body: <p>When the lifecycle function(lets say afterUpdate()) in a Svelte component gets invoked. Does it cause the component to rerender?</p>
  <p>For example</p>
  <pre><code>&lt;script&gt;
      import { afterUpdate } from 'svelte';
  
      afterUpdate(() =&gt; {
          console.log('the component just updated');
      });
  &lt;/script&gt;
  </code></pre>
  <p>Is this simply just a component updating or does rerendering occur?</p>