argimenes
argimenes
SSolidJS
Created by argimenes on 3/13/2023 in #support
client-side solid-router prepends every relative link with hash, even when not desired
I am using hashIntegration with the solid-router for an SPA running on our site - but the entire site is not an SPA, and <Link>, <a>, <NavLink> (solid-bootstrap), etc., treat any links as hashed links for the router. E.g., I do not want "/about/home" to go the client solid-router, I want it to go be handled by the .NET MVC router. Yet it doesn't seem to matter what tag I use, the links are automatically converted to "#/about/home", which traps the user inside the SPA. Is there any way I can break out of this by setting something on the tag itself?
23 replies