<Link> in RouterContextProvider doesn't navigate to link
Hi,
I'm currently building a project that uses a variety of packages. Each of these packages has it's own instance of
@tanstack/react-router
. I'm trying to create a <Link>
between two of these packages. Since package A does not know of the existance of package B, I'm wrapping the URL in a <RouterContextProvider>
with the router being the router in the other package. All is well so far; I get the correct suggestions now and everything seems like it works.
Problem now is, when clicking the link in the browser, the URL in the browser actually gets changed to the correct one, but the browser never navigates away from the page. Is this something I am doing wrong? The <a>
in the browser has all the correct attributes, so I'm kinda confused here.
0 Replies