S
SolidJS2y ago
rpivo

styles.map.css is a route param for some reason

Hi all -- seeing this issue inside of a routeData function.
const routeData = ({ params }) => {
return createServerData$(
async (id, event) => {

...

}
},
{ key: () => params.someId },
);
};
const routeData = ({ params }) => {
return createServerData$(
async (id, event) => {

...

}
},
{ key: () => params.someId },
);
};
The above routeData is working successfully in that it's running when the route is entered, and it correctly uses the someId parameter in the route. But it also is, for whatever reason, getting called with styles.map.css as the value of someId. It's as if solid-start is seeing that both of these routes get hit: - localhost:8000/somePage/123 (correct) - localhost:8000/somePage/styles.map.css (not right) Would there be any reason for that? Using: Node v19.4.0 solidjs 1.6.9 solid-start 0.2.16 vite 4.0.4
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server