All `+route` are triggered
rtritto opened this issue · 3 comments
rtritto commented
Description
When you navigate on a page, all route hooks are triggered.
Reproduction
-
git clone https://github.com/rtritto/template-vike-solid-daisyui.git
-
cd template-vike-solid-daisyui
-
git checkout bug-trigger-route
-
yarn
-
yarn dev
-
Navigate to
http://localhost:3000
-
Check logs:
route testroute1 route testroute2
rtritto commented
Using filesystem routing, where can I validate route parameters?
Edit: I used validation in +data
hook
brillout commented