Replies: 2 comments 5 replies
-
Follow-up: is it possible to use Fastify or other backend framework instead of NextJS API? |
Beta Was this translation helpful? Give feedback.
-
Hey! There is actually Tauri Support now! You can build the nextjs app into a Tauri app by running the command here! So, on the desktop side, it is React Native transpiled into React done by React Native Web! So in some sense, we are using React + Tauri :) TLDR. Your s in React Native are smartly transformed into s when building Tauri/Next. I'm actually not too sure if Tauri supports SSR at this moment maybe @albbus-stack can shed some light there.
As for why can't we just write in React instead of React Native? You can do that if all you care about is web and desktop support. But that won't work for native mobile apps! Which defeats the purpose of this template, which is to write once and have a performant native app on all platforms! There are other solutions like Capacitor that wrap your React code in a Native Webview and is essentially an app in the form of a browser, but those apps are generally less performant! I know it's a little convoluted but I hope it clears thing up a little! |
Beta Was this translation helpful? Give feedback.
-
Hi there!
I like your idea and I'm looking forward for Tauri support!
Is there any trade-off using NextJS? AFAIK we cannot use SSR with Tauri and React Native. Why not to just use React?
Beta Was this translation helpful? Give feedback.
All reactions