Passing hook result into context w/ Tanstack Start
In Tanstack Router, using a classic SPA setup, you can do this:
I'm trying to port this functionality to Start. I want to re-use the URQL client created in the Graphql provider and pass it into the context, so it can be used in
beforeLoad
etc, but atm it is only exposed via a hook. Is there a recommended way to handle this case?0 Replies