Tanstack-Query with Tanstack-Start
Hello,
I went trought the official example for wiring T-Query with T-Start and some other community template, but I cannot find a standard why of doing it.
Some people uses the new package tanstack-router-with-query which it highly experimental and other inject directly the query when creating the router. When using the latest, it seems the query provider is not needed any more. The tanstack-router-with-query on the other hand wrap internally the children with the query provider.
What is the recommended way to wire the T-Query in T-Start specially for mutation ? my guest is that we need to inject the query in the router so we can access it in the loaders. is that true. But how about mutation ?
I went trought the official example for wiring T-Query with T-Start and some other community template, but I cannot find a standard why of doing it.
Some people uses the new package tanstack-router-with-query which it highly experimental and other inject directly the query when creating the router. When using the latest, it seems the query provider is not needed any more. The tanstack-router-with-query on the other hand wrap internally the children with the query provider.
What is the recommended way to wire the T-Query in T-Start specially for mutation ? my guest is that we need to inject the query in the router so we can access it in the loaders. is that true. But how about mutation ?