TanStackT
TanStack2y ago
5 replies
foolish-indigo

All queries are dependent on a cookie value, need some advice on best approach

I have a lot of queries, and all of them depend on a cookie to be present for headers. Its getting a bit annoying to use the enabled / skipToken approach on all of the queries. Is there something I can do with the defaultOptions? Or should I just render the app when the cookie is present
Was this page helpful?