#tauri 2.0 / vite & Tanstack

12 messages · Page 1 of 1 (latest)

jagged surge
#

what's the status of tanstack start with vite react?
also what does the compatibility with tauri 2.0 look like?

autumn bolt
#

Start needs a server to execute JS for server functions, api router and SSR, in Tauri there is the concept of a sidecars to run other processes beside the rust backend but I’ll be surprised if it was enough to run start or any other fullstack JS framework without horrendous developers experience.

Il short, you are better of using Tanstack router directly when using Tauri

austere thicket
#

yup, that's exactly what we're doing also... running vite, tanstack router and tauri. we are still using tauri 1 for a big engineering app.

what a nice way to build desktop apps.. if you're good with the rust, which i came to enjoy

feral lynx
#

As far as I know, SSR-enabled apps are not applicable in Tauri v2.0. Apps need to be SPAs. I deployed iOS and Android apps using TanStack Router in a React SPA wrapped by Tauri v2.0.

stray dune
#

for you guys already using Tauri v2, do you know if there is any service provider offering build and publish to store functionality similar to EAS of Expo?

feral lynx
#

You can use Crabnebula cloud. They are the one who built Tauri.

kind marsh
#

Btw, is it possible to setup Tanstack Start + Tauri v2 + IAP for android and iOS?

#

Im deciding on going for Capicator or Tauri

kind marsh
stray dune
#

I guess tanstack router + tauri v2 should work without problems? You might have to wait until the Devinxi branch is merged and released, from that onwards I assume also Start will be compatible

autumn bolt