Closed rtritto closed 2 months ago
When you navigate on a page, all route hooks are triggered.
git clone https://github.com/rtritto/template-vike-solid-daisyui.git
cd template-vike-solid-daisyui
git checkout bug-trigger-route
yarn
yarn dev
http://localhost:3000
Check logs:
route testroute1 route testroute2
https://vike.dev/route-function#lightweight-fast
Using filesystem routing, where can I validate route parameters?
Edit: I used validation in +data hook
+data
https://brillout.github.io/rules#try
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
http://localhost:3000
Check logs: