-
Notifications
You must be signed in to change notification settings - Fork 23
Skip router render meanwhile there is no outlet #179
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Friendly ping to @web-padawan!
}, | ||
...routes | ||
], | ||
true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First we skip the router render.
|
||
export const attachRouter = (outlet: Node | null): void => { | ||
router.setOutlet(outlet); | ||
router.render(window.location, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then we force the first render when attach the router.
Thanks, now the issue seems more clear to me. I will ask if anyone from our team would have time to look into it. |
Great, thanks @web-padawan! |
@web-padawan have you gotten any response? Thanks in advance! |
Unfortunately the team is busy with other priorities at the moment. Also, I will dedicate some time to investigate this issue on my own, and hopefully come up with a fix for it. |
Ok, thanks @web-padawan! |
@web-padawan have you had a chance to investigate it? |
Not yet, unfortunately. Sorry about that. |
5b5d912
to
0b1cca5
Compare
49a85c4
to
4c6b331
Compare
5667af5
to
926935c
Compare
4d6593e
to
a056971
Compare
a273957
to
f1f6422
Compare
dd608bf
to
be6d201
Compare
We don't know if you had time to check something about the proposed solution, @web-padawan thanks! |
3b8ded3
to
c27d107
Compare
a3421c8
to
f15d2b8
Compare
09278fd
to
93820b2
Compare
Could fix vaadin/router#495