I added vaadin to a new vite + lit project. It works fine mostly, except I lose route parameters on refresh. Am I doing something wrong? Or is this a vaadin problem or vite problem?
To reproduce:
npm install
npm run dev
Click on Projects 3, you will see "Projects 3" and a log statement coming from onBeforeEnter
Refresh page
Now it says projects 0, no log statement coming from onBeforeEnter
Versions: @vaadin/router: 1.7.5 lit: 3.1.3 vite: 5.2.9 typescript: 5.2.9
Demo: https://stackblitz.com/~/github.com/shotor/vaadin-vite-lit Repo: https://github.com/shotor/vaadin-vite-lit
I added vaadin to a new vite + lit project. It works fine mostly, except I lose route parameters on refresh. Am I doing something wrong? Or is this a vaadin problem or vite problem?
To reproduce: