Next.js App Router #3786
eugeniosegala
started this conversation in
General
Replies: 1 comment 2 replies
-
Can you clarify the specific question you're asking? Short answer is that Next and React are both looking to move more things to the server. RTK Query is not as potentially relevant in that scenario. But also there's a lot of technical complications towards potentially integrating RTKQ into a server component environment. See https://phryneas.de/react-server-components-controversy for some details. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'm using Redux RTK query on the server with Next.js, following the official doc.
I'm currently in the process of considering migrating my application to the "App Router" paradigm, however, I noticed that Redux RTK query is not compatible with that configuration at this time.
I started playing a bit with the new App Router feature and I noticed some limitations around accessing the full request object and other similar things. In general, it looks like what you can do from a server side prospective, it's more limited than before.
I was wondering, what is the position of the Redux team about this? It seems the App Router will become the standard at some point?
I'm happy to help figuring this out, perhaps we can reach out to the Next.js team and find a way to fix the above?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions