S
SolidJS15mo ago
Nin

Multiple Path Routes still Re-rendering, why?

<Routes>
<Route path={["/auth/signin","/auth/signup"]} component={Authentication} />
<FileRoutes />
</Routes>
<Routes>
<Route path={["/auth/signin","/auth/signup"]} component={Authentication} />
<FileRoutes />
</Routes>
I'm rendering the same component on my Authentication pages yet there's still a flicker which looks like a re-render, I'm wondering why?
1 Reply
Nin
NinOP15mo ago
Solved it. I was using the Kobalte <Link.Root> component. After switching to an A component by Solid Start it's working as expected.
Want results from more Discord servers?
Add your server