Closed fi0 closed 3 years ago
In /examples/relay-hook-example/nextjs-ssr/pages/index.tsx How do I pass a queryString (from useRouter/withRouter) to variables.userId ? Thank you!
Use prepareVariables on the route.
prepareVariables
I'm using nextjs's dynamic routing with relay-hooks. Is it possible to use prepareVariables and withData from the example?
withData
In /examples/relay-hook-example/nextjs-ssr/pages/index.tsx How do I pass a queryString (from useRouter/withRouter) to variables.userId ? Thank you!