Open
Description
When using regexp (pattern or in string) in path in route definition. pre and post hooks are trigged twice and also triggered even outside the router basePath when leaving page with router
Example:
{ path: '(?<page>.*)', hooks: { post: [async (route) => { page = route.result?.path?.params?.page; console.log('Page', page); }], }, },