Replies: 1 comment 1 reply
-
I'm also integrating TanStack Router with Next.js App Router, and I'm having the same issue too. The same warning is triggered every time a client-side navigation occurs (both through the I believe the warning originates from here: https://github.com/vercel/next.js/blob/1dccfbce0f11e04df1ec387d244db018104b5c6b/packages/next/src/client/components/app-router.tsx#L101-L129 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I've setup a hybrid approach for using Tanstack Router in NextJS and it works great apart from 1 issue which is I get this error:
useInsertionEffect must not schedule updates.
whenever I switch routes with the Link component.Is there any solution for this? I know I can use the memory router which solves this but I want URL routing. If not, is it safe to ignore this error?
I'm trying to avoid patching NextJS, more open to patching TanStack Router if all else fails.
Beta Was this translation helpful? Give feedback.
All reactions