I am currently working on a website using Svelte and Sapper. I'm using Svelte transitions to animate some of the page elements. Whenever I change to a new page route, the transitions animate correctly. But when I load the page for the first time, they do not animate.
How does Svelte handle animations on page load? Do I need to use onMount() to get them to work properly?