Sapper route problem (bug) - Rendering a persistent component

77 Views Asked by At

The error consists in a repetitive component that is rendered on any route when some router link is clicked. This was not happening every time, and because of that is too important be careful with Svelte animations and Sapper routes.

1

There are 1 best solutions below

0
On BEST ANSWER

For now, i have been using transitions withou any other params like this:

<section transition:slide> ... </section>

This is not rendering any errors, but following the instructions of reddit seems like have other options to handler that and keep using additional parameters:

https://www.reddit.com/r/sveltejs/comments/e1xc0a/problem_with_routing_and_transitions/