What is https://www.npmjs.com/package/@tanstack/react-router-with-query
I saw jherr user it in one of his videos but can’t find any docs for this package…
Also are there any docs for create ts router app?
create ts router app always includes tanstack/start, is there a way to just create SPA with tanstack router?
3 Replies
correct-apricot•6mo ago
You can run
pnpx create-tsrouter-app --add-ons
it doesn't always include TanStack Start
@tanstack/react-router-with-query
is a verison of the router, with a fully fledged tanstack query. The @tanstack/react-router
has a "mini-query" built-in, with the necessities in terms of cachinggenetic-orangeOP•6mo ago
The thing is I did run it and did not select tanstack start, but still it was added…
And would you recommend using
@tanstack/react-router-with-query
? Absence of at least some docs for it feels like it is not meant to be used by usual usersconscious-sapphire•6mo ago
it's just not documented yet. but yes, it's recommended !