More than 25 years experienced software enthusiast. Loves a bunch of programming languages and technologies. Writes about tech React, Javascript, Rust...
It seems there is only one way to use React in Tauri. I'm talking about NextJS & SSG.
To make Next.js work with Tauri we are going to use the SSG mode since it generates only static files that can be included in the final binary. (more info here: https://tauri.app/v1/guides/getting-started/setup/next-js)
That's the point of my comment since it use SSG I don't see the benefit of using NextJS over pure React, with Vite for example. Tauri only need a HTML file, in this file you put whateverJS you want, be React/Svelte/Vue/Solid....
More than 25 years experienced software enthusiast. Loves a bunch of programming languages and technologies. Writes about tech React, Javascript, Rust...
It seems there is only one way to use React in Tauri. I'm talking about NextJS & SSG.
I didn't find pure React support by default.
That's the point of my comment since it use SSG I don't see the benefit of using NextJS over pure React, with Vite for example. Tauri only need a HTML file, in this file you put whateverJS you want, be React/Svelte/Vue/Solid....
Oh, my bad. Thank you for sharing. Right, Next JS & SSG would look redundant.