Open ivanbacher opened 2 months ago
Default TypeScript Aurelia 2 App
router-lite
my-app.html
<import from="./my-element.html"></import> <div class="message">${message}</div> <my-element></my-element> <div> <au-viewport></au-viewport> </div>
When a change happens in the new route that was created: then route is added again.
Page needs to be reloaded to get everything back to normal. I am assuming it could have something todo with how Vite handles reloads?
Repo: test-app.zip
Yes at a glance it seems this is hot reload, since the unmounting behavior isnt smart, and because of host controller involved. Thanks @ivanbacher
🐛 Bug Report
Default TypeScript Aurelia 2 App
router-lite
packagemy-app.html
When a change happens in the new route that was created: then route is added again.
Page needs to be reloaded to get everything back to normal. I am assuming it could have something todo with how Vite handles reloads?
Repo: test-app.zip