Skip to content

What has been your experience using NextJS + Tauri? #6083

Answered by FabianLars
serg06 asked this question in Q&A
Discussion options

You must be logged in to vote

Does it take a long time to start up?

Yes, just like in a standalone nextjs app, it's just a heavy dev environment, and it uses webpack (i'm not taking turbopack into account yet) which is also pretty slow.

Does HMR work well?

Yes, Tauri isn't any different from any normal browser in that regard.

The main problem imo with nextjs in a tauri app, is its SSR-first nature. For nextjs to work in tauri you need to use its SSG mode (next export) which can get a bit annoying at times.

Personally i just go with vite + react, but i also prefer react-router (or similar) over file-based routers like the one in nextjs, so take that with a grain of salt i guess.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@smolattack
Comment options

@Manubi
Comment options

Answer selected by serg06
Comment options

You must be logged in to vote
1 reply
@FabianLars
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants