pateketrueke / yrv

Your routing vibes! (for Svelte)
https://svelte.dev/repl/0f07c6134b16432591a9a3a0095a80de
161 stars 9 forks source link

Some routes don't render anymore after `disabled` or `condition` change #89

Open plumdumpling opened 2 years ago

plumdumpling commented 2 years ago

Some routes don't render anymore, if the disabled or condition property of the Router changes.

Here's an example (with the condition property) to reproduce the issue: https://svelte.dev/repl/279f429d7ba643a9bb747e8c3ed9e3a1?version=3.49.0

  1. All routes render correctly
  2. Toggle the condition
  3. Nothing renders
  4. Toggle the condition
  5. Only the home route renders (I expect all routes to render again)

Is this a bug or am I doing something wrong?

pateketrueke commented 2 years ago

It seems to be a bug, I'll investigating it asap, thank you!