SolidJSS
SolidJSโ€ข16mo agoโ€ข
3 replies
KamehamehaNudel

Router determine if 404 route

Is it possible with the router to determine if the current route is the "404" route aka matches "*" ?
Was trying to think of a way with useMatch but not sure how to set the matchFilters or even the path for that.

My usecase is, that i have analytics tracking which tracks the pageViews but for the 404 page i need different handling hence i have to somehow figure out that i'm on that route from outside that route.

thx
Was this page helpful?