Closed kritollm closed 4 years ago
{#each '_' as _($router.path)}{$router.path,''}
Hi. Can someone please explain the code above. Recipes -> Transitions
Sorry if this does not fall under issues, but I have googled and searched in the Svelte documentation without being able to get an understanding of how the code works.
It is just a magic which I created when looking for a way to remount template parts when some variable changes.
{#each '_' as _($router.path)}{$router.path,''}
Hi. Can someone please explain the code above. Recipes -> Transitions
Sorry if this does not fall under issues, but I have googled and searched in the Svelte documentation without being able to get an understanding of how the code works.