Not sure what appends path params to my URL #2234
Unanswered
TomGruner85
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here's my setup:
router 1 (basepath: "/")
/app
--/app/$ ==> mount either remote component a or b, depending on splat
__root ==> contains two Links. One to /app/a (to="/app/$" params={{ _splat: 'a' }}) and one to /app/b (to="/app/$" params={{ _splat: 'b' }})
router 2 (basepath: "/app/a")
--/app/a (index)
--/app/a/about (static)
router 3 (basepath: "/app/b")
--/app/b (index)
--/app/b/about (static)
Now my problem is:
Why is this happening and how can I configure the router to not do that? I tried playing around with stale times and gc times, but could not prevent this from happening.
Beta Was this translation helpful? Give feedback.
All reactions